xref: /openbmc/u-boot/arch/arm/include/asm/spl.h (revision 3ba98ed8)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2012
4  * Texas Instruments, <www.ti.com>
5  */
6 #ifndef	_ASM_SPL_H_
7 #define	_ASM_SPL_H_
8 
9 #if defined(CONFIG_ARCH_OMAP2PLUS) \
10 	|| defined(CONFIG_EXYNOS4) || defined(CONFIG_EXYNOS5) \
11 	|| defined(CONFIG_EXYNOS4210) || defined(CONFIG_ARCH_K3) \
12 	|| defined(CONFIG_ARCH_ASPEED)
13 /* Platform-specific defines */
14 #include <asm/arch/spl.h>
15 
16 #else
17 enum {
18 	BOOT_DEVICE_RAM,
19 	BOOT_DEVICE_MMC1,
20 	BOOT_DEVICE_MMC2,
21 	BOOT_DEVICE_MMC2_2,
22 	BOOT_DEVICE_NAND,
23 	BOOT_DEVICE_ONENAND,
24 	BOOT_DEVICE_NOR,
25 	BOOT_DEVICE_UART,
26 	BOOT_DEVICE_SPI,
27 	BOOT_DEVICE_USB,
28 	BOOT_DEVICE_SATA,
29 	BOOT_DEVICE_I2C,
30 	BOOT_DEVICE_BOARD,
31 	BOOT_DEVICE_DFU,
32 	BOOT_DEVICE_XIP,
33 	BOOT_DEVICE_BOOTROM,
34 	BOOT_DEVICE_NONE
35 };
36 #endif
37 
38 /* Linker symbols. */
39 extern char __bss_start[], __bss_end[];
40 
41 #ifndef CONFIG_DM
42 extern gd_t gdata;
43 #endif
44 
45 #endif
46