[U-Boot] [U-Boot 3/3] spl: common: Support for USB MSD FAT image loading
Dan Murphy
dmurphy at ti.com
Mon Jan 13 14:50:37 CET 2014
On 01/10/2014 07:02 AM, Dan Murphy wrote:
> Add SPL support to be able to detect a USB Mass Storage device
> connected to a USB host. Once a USB Mass storage device is detected
> the SPL will load the u-boot.img from a FAT partition to target address.
>
> Signed-off-by: Dan Murphy <dmurphy at ti.com>
> ---
> arch/arm/include/asm/arch-am33xx/spl.h | 14 ++++++--
> common/Makefile | 4 +++
> common/spl/Makefile | 1 +
> common/spl/spl.c | 5 +++
> common/spl/spl_fat.c | 16 ++++-----
> common/spl/spl_usb.c | 58 ++++++++++++++++++++++++++++++++
> include/spl.h | 3 ++
> spl/Makefile | 2 ++
> 8 files changed, 92 insertions(+), 11 deletions(-)
> create mode 100644 common/spl/spl_usb.c
>
> diff --git a/arch/arm/include/asm/arch-am33xx/spl.h b/arch/arm/include/asm/arch-am33xx/spl.h
> index 95de9aa..cd1d88d 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
After a rebase it appears this does not get merged to the right spot.
I can submit a V2 if the maintainer wants me to or it can be a fix up once applied.
<snip>
--
------------------
Dan Murphy
More information about the U-Boot
mailing list