]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/arch-omap3/spl.h
omap3: Reboot mode support
[u-boot] / arch / arm / include / asm / arch-omap3 / spl.h
index 2ec319c08a56b9b884ee25f0057357b5f9e03839..a31b4ea24b543e532fcee47221a813b4b6fae05c 100644 (file)
@@ -5,16 +5,18 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 #ifndef        _ASM_ARCH_SPL_H_
-#define        _ASM_SPL_H_
+#define        _ASM_ARCH_SPL_H_
 
-#define BOOT_DEVICE_NONE       0
-#define BOOT_DEVICE_XIP                1
-#define BOOT_DEVICE_NAND       2
-#define BOOT_DEVICE_ONENAND    3
-#define BOOT_DEVICE_MMC2       5 /*emmc*/
-#define BOOT_DEVICE_MMC1       6
-#define BOOT_DEVICE_XIPWAIT    7
-#define BOOT_DEVICE_MMC2_2      0xFF
+#define BOOT_DEVICE_NONE       0x00
+#define BOOT_DEVICE_XIP                0x01
+#define BOOT_DEVICE_NAND       0x02
+#define BOOT_DEVICE_ONENAND    0x03
+#define BOOT_DEVICE_MMC2       0x05
+#define BOOT_DEVICE_MMC1       0x06
+#define BOOT_DEVICE_XIPWAIT    0x07
+#define BOOT_DEVICE_MMC2_2      0x08
+#define BOOT_DEVICE_UART       0x10
+#define BOOT_DEVICE_USB                0x11
 
 #define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC2
 #define MMC_BOOT_DEVICES_END   BOOT_DEVICE_MMC1