|
|
@ -45,7 +45,7 @@ void preloader_console_init(void); |
|
|
|
#define BOOT_DEVICE_ONE_NAND 4 |
|
|
|
#define BOOT_DEVICE_ONE_NAND 4 |
|
|
|
#define BOOT_DEVICE_MMC1 5 |
|
|
|
#define BOOT_DEVICE_MMC1 5 |
|
|
|
#define BOOT_DEVICE_MMC2 6 |
|
|
|
#define BOOT_DEVICE_MMC2 6 |
|
|
|
#define BOOT_DEVICE_MMC3 7 |
|
|
|
#define BOOT_DEVICE_MMC2_2 7 |
|
|
|
#elif defined(CONFIG_OMAP44XX) /* OMAP4 */ |
|
|
|
#elif defined(CONFIG_OMAP44XX) /* OMAP4 */ |
|
|
|
#define BOOT_DEVICE_NONE 0 |
|
|
|
#define BOOT_DEVICE_NONE 0 |
|
|
|
#define BOOT_DEVICE_XIP 1 |
|
|
|
#define BOOT_DEVICE_XIP 1 |
|
|
@ -54,6 +54,7 @@ void preloader_console_init(void); |
|
|
|
#define BOOT_DEVICE_ONE_NAND 4 |
|
|
|
#define BOOT_DEVICE_ONE_NAND 4 |
|
|
|
#define BOOT_DEVICE_MMC1 5 |
|
|
|
#define BOOT_DEVICE_MMC1 5 |
|
|
|
#define BOOT_DEVICE_MMC2 6 |
|
|
|
#define BOOT_DEVICE_MMC2 6 |
|
|
|
|
|
|
|
#define BOOT_DEVICE_MMC2_2 0xFF |
|
|
|
#elif defined(CONFIG_OMAP34XX) /* OMAP3 */ |
|
|
|
#elif defined(CONFIG_OMAP34XX) /* OMAP3 */ |
|
|
|
#define BOOT_DEVICE_NONE 0 |
|
|
|
#define BOOT_DEVICE_NONE 0 |
|
|
|
#define BOOT_DEVICE_XIP 1 |
|
|
|
#define BOOT_DEVICE_XIP 1 |
|
|
@ -62,11 +63,13 @@ void preloader_console_init(void); |
|
|
|
#define BOOT_DEVICE_MMC2 5 /*emmc*/ |
|
|
|
#define BOOT_DEVICE_MMC2 5 /*emmc*/ |
|
|
|
#define BOOT_DEVICE_MMC1 6 |
|
|
|
#define BOOT_DEVICE_MMC1 6 |
|
|
|
#define BOOT_DEVICE_XIPWAIT 7 |
|
|
|
#define BOOT_DEVICE_XIPWAIT 7 |
|
|
|
|
|
|
|
#define BOOT_DEVICE_MMC2_2 0xFF |
|
|
|
#elif defined(CONFIG_AM33XX) /* AM33XX */ |
|
|
|
#elif defined(CONFIG_AM33XX) /* AM33XX */ |
|
|
|
#define BOOT_DEVICE_NAND 5 |
|
|
|
#define BOOT_DEVICE_NAND 5 |
|
|
|
#define BOOT_DEVICE_MMC1 8 |
|
|
|
#define BOOT_DEVICE_MMC1 8 |
|
|
|
#define BOOT_DEVICE_MMC2 0 |
|
|
|
#define BOOT_DEVICE_MMC2 0 |
|
|
|
#define BOOT_DEVICE_UART 65 |
|
|
|
#define BOOT_DEVICE_UART 65 |
|
|
|
|
|
|
|
#define BOOT_DEVICE_MMC2_2 0xFF |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
/* Boot type */ |
|
|
|
/* Boot type */ |
|
|
|