diff options
author | Dan Murphy <dmurphy@ti.com> | 2014-01-16 11:23:30 -0600 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-01-24 16:59:22 -0500 |
commit | 8cffe5bd0d601f64eca78d28b8a710ad6ca8edd2 (patch) | |
tree | 17c1cec019810ffc5dcb4a59ab0522cec4c5fdf5 /common/spl/spl.c | |
parent | 773b5940b5f2fb5d1041c6f4db5796121ccd29c5 (diff) | |
download | u-boot-imx-8cffe5bd0d601f64eca78d28b8a710ad6ca8edd2.zip u-boot-imx-8cffe5bd0d601f64eca78d28b8a710ad6ca8edd2.tar.gz u-boot-imx-8cffe5bd0d601f64eca78d28b8a710ad6ca8edd2.tar.bz2 |
spl: common: Support for USB MSD FAT image loading
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@ti.com>
Diffstat (limited to 'common/spl/spl.c')
-rw-r--r-- | common/spl/spl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c index da31457..0645cee 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -205,6 +205,11 @@ void board_init_r(gd_t *dummy1, ulong dummy2) spl_net_load_image("usb_ether"); break; #endif +#ifdef CONFIG_SPL_USB_SUPPORT + case BOOT_DEVICE_USB: + spl_usb_load_image(); + break; +#endif default: debug("SPL: Un-supported Boot Device\n"); hang(); |