xref: /openbmc/u-boot/arch/mips/include/asm/spl.h (revision fd0bc623)
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 enum {
10 	BOOT_DEVICE_RAM,
11 	BOOT_DEVICE_MMC1,
12 	BOOT_DEVICE_MMC2,
13 	BOOT_DEVICE_MMC2_2,
14 	BOOT_DEVICE_NAND,
15 	BOOT_DEVICE_ONENAND,
16 	BOOT_DEVICE_NOR,
17 	BOOT_DEVICE_UART,
18 	BOOT_DEVICE_SPI,
19 	BOOT_DEVICE_USB,
20 	BOOT_DEVICE_SATA,
21 	BOOT_DEVICE_I2C,
22 	BOOT_DEVICE_BOARD,
23 	BOOT_DEVICE_DFU,
24 	BOOT_DEVICE_XIP,
25 	BOOT_DEVICE_BOOTROM,
26 	BOOT_DEVICE_NONE
27 };
28 
29 #ifndef CONFIG_DM
30 extern gd_t gdata;
31 #endif
32 
33 #endif
34