diff options
author | Dan Murphy <dmurphy@ti.com> | 2014-02-03 06:59:01 -0600 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-19 10:47:43 -0500 |
commit | fff40a7e02092eee11970e7001c8560df419cac1 (patch) | |
tree | 503236e40ccc5a43f559ecf1ab61e216e73d0780 /common/spl/spl.c | |
parent | 054c8388345184e38c7bd7f64a529fa346b63df2 (diff) | |
download | u-boot-imx-fff40a7e02092eee11970e7001c8560df419cac1.zip u-boot-imx-fff40a7e02092eee11970e7001c8560df419cac1.tar.gz u-boot-imx-fff40a7e02092eee11970e7001c8560df419cac1.tar.bz2 |
common: spl: Add spl sata boot support
Add spl_sata to read a fat partition from a bootable SATA
drive.
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Roger Quadros <rogerq@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 0645cee..774fdad 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -210,6 +210,11 @@ void board_init_r(gd_t *dummy1, ulong dummy2) spl_usb_load_image(); break; #endif +#ifdef CONFIG_SPL_SATA_SUPPORT + case BOOT_DEVICE_SATA: + spl_sata_load_image(); + break; +#endif default: debug("SPL: Un-supported Boot Device\n"); hang(); |