From: Dan Murphy Date: Thu, 5 Dec 2013 08:39:47 -0600 Subject: [U-Boot] [RFC] [U-Boot 2/2] arm: am437x: Enable the USB boot device In-Reply-To: <1386254387-5353-1-git-send-email-dmurphy@ti.com> References: <1386254387-5353-1-git-send-email-dmurphy@ti.com> Message-ID: <1386254387-5353-3-git-send-email-dmurphy@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Enable the USB host boot support for the AM437 evm Signed-off-by: Dan Murphy --- 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