[U-Boot] [RFC] [U-Boot 2/2] arm: am437x: Enable the USB boot device

Dan Murphy dmurphy at ti.com
Thu Dec 5 15:39:47 CET 2013


Enable the USB host boot support for the AM437 evm

Signed-off-by: Dan Murphy <dmurphy at ti.com>
---
 arch/arm/include/asm/arch-am33xx/spl.h |    1 +
 include/configs/am43xx_evm.h           |    7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/arch/arm/include/asm/arch-am33xx/spl.h b/arch/arm/include/asm/arch-am33xx/spl.h
index 95de9aa..166ff24 100644
--- a/arch/arm/include/asm/arch-am33xx/spl.h
+++ b/arch/arm/include/asm/arch-am33xx/spl.h
@@ -20,6 +20,7 @@
 #if defined(CONFIG_AM33XX) || defined(CONFIG_AM43XX)
 #define BOOT_DEVICE_MMC1	8
 #define BOOT_DEVICE_MMC2	9	/* eMMC or daughter card */
+#define BOOT_DEVICE_USB		13
 #elif defined(CONFIG_TI814X)
 #define BOOT_DEVICE_MMC1	9
 #define BOOT_DEVICE_MMC2	8	/* ROM only supports 2nd instance */
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index d9b6c16..eb3377c 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -129,6 +129,13 @@
 #define CONFIG_SYS_SPL_MALLOC_START	0x80a08000
 #define CONFIG_SYS_SPL_MALLOC_SIZE	0x100000
 
+#define CONFIG_SYS_USB_FAT_BOOT_PARTITION		1
+#define CONFIG_SYS_USB_MODE_U_BOOT_SECTOR 0x300
+
+/* SPL USB Support */
+#define CONFIG_SPL_USB_SUPPORT
+#define CONFIG_SPL_USB_HOST_SUPPORT
+
 /* Unsupported features */
 #undef CONFIG_USE_IRQ
 
-- 
1.7.9.5



More information about the U-Boot mailing list