arm: am437x: Enable the USB boot device
Enable the USB host boot support for the AM437 evm Signed-off-by: Dan Murphy <dmurphy@ti.com>
This commit is contained in:
parent
e71e70bf45
commit
001419954b
|
@ -19,6 +19,7 @@
|
|||
#define BOOT_DEVICE_MMC1 7
|
||||
#define BOOT_DEVICE_MMC2 8
|
||||
#define BOOT_DEVICE_SPI 10
|
||||
#define BOOT_DEVICE_USB 13
|
||||
#define BOOT_DEVICE_UART 65
|
||||
#define BOOT_DEVICE_CPGMAC 71
|
||||
#else
|
||||
|
@ -38,9 +39,16 @@
|
|||
#endif
|
||||
#define BOOT_DEVICE_MMC2_2 0xFF
|
||||
|
||||
#if defined(CONFIG_AM33XX) || defined(CONFIG_AM43XX)
|
||||
#if defined(CONFIG_AM33XX)
|
||||
#define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC1
|
||||
#define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC2
|
||||
#elif defined(CONFIG_AM43XX)
|
||||
#define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC1
|
||||
#ifdef CONFIG_SPL_USB_SUPPORT
|
||||
#define MMC_BOOT_DEVICES_END BOOT_DEVICE_USB
|
||||
#else
|
||||
#define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC2
|
||||
#endif
|
||||
#elif defined(CONFIG_TI81XX)
|
||||
#define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC2
|
||||
#define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC1
|
||||
|
|
|
@ -69,6 +69,14 @@
|
|||
|
||||
#define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
|
||||
|
||||
#ifdef CONFIG_SPL
|
||||
/* SPL USB Support */
|
||||
#define CONFIG_SPL_USB_SUPPORT
|
||||
#define CONFIG_SPL_USB_HOST_SUPPORT
|
||||
#define CONFIG_SYS_USB_FAT_BOOT_PARTITION 1
|
||||
#define CONFIG_SYS_USB_MODE_U_BOOT_SECTOR 0x300
|
||||
#endif
|
||||
|
||||
#define CONFIG_CMD_USB
|
||||
#define CONFIG_USB_HOST
|
||||
#define CONFIG_USB_XHCI
|
||||
|
|
Loading…
Reference in New Issue