xref: /openbmc/u-boot/arch/arm/include/asm/spl.h (revision ae485b54)
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)
12 /* Platform-specific defines */
13 #include <asm/arch/spl.h>
14 
15 #else
16 enum {
17 	BOOT_DEVICE_RAM,
18 	BOOT_DEVICE_MMC1,
19 	BOOT_DEVICE_MMC2,
20 	BOOT_DEVICE_MMC2_2,
21 	BOOT_DEVICE_NAND,
22 	BOOT_DEVICE_ONENAND,
23 	BOOT_DEVICE_NOR,
24 	BOOT_DEVICE_UART,
25 	BOOT_DEVICE_SPI,
26 	BOOT_DEVICE_USB,
27 	BOOT_DEVICE_SATA,
28 	BOOT_DEVICE_I2C,
29 	BOOT_DEVICE_BOARD,
30 	BOOT_DEVICE_DFU,
31 	BOOT_DEVICE_XIP,
32 	BOOT_DEVICE_BOOTROM,
33 	BOOT_DEVICE_NONE
34 };
35 #endif
36 
37 /* Linker symbols. */
38 extern char __bss_start[], __bss_end[];
39 
40 #ifndef CONFIG_DM
41 extern gd_t gdata;
42 #endif
43 
44 #endif
45