mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-11-04 02:11:25 +01:00 
			
		
		
		
	Fix the macros guarding the spl.h header for various platforms. Due to a typo and a propagation of it, the macros went out-of-sync with their ifdef check, so fix this. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Tom Rini <trini@ti.com>
		
			
				
	
	
		
			22 lines
		
	
	
		
			484 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			484 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * (C) Copyright 2012
 | 
						|
 * Texas Instruments, <www.ti.com>
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier:	GPL-2.0+
 | 
						|
 */
 | 
						|
#ifndef	_ASM_ARCH_SPL_H_
 | 
						|
#define	_ASM_ARCH_SPL_H_
 | 
						|
 | 
						|
#define BOOT_DEVICE_NONE	0
 | 
						|
#define BOOT_DEVICE_XIP		1
 | 
						|
#define BOOT_DEVICE_XIPWAIT	2
 | 
						|
#define BOOT_DEVICE_NAND	3
 | 
						|
#define BOOT_DEVICE_ONENAND	4
 | 
						|
#define BOOT_DEVICE_MMC1	5
 | 
						|
#define BOOT_DEVICE_MMC2	6
 | 
						|
#define BOOT_DEVICE_MMC2_2	0xFF
 | 
						|
 | 
						|
#define MMC_BOOT_DEVICES_START	BOOT_DEVICE_MMC1
 | 
						|
#define MMC_BOOT_DEVICES_END	BOOT_DEVICE_MMC2
 | 
						|
#endif
 |