summaryrefslogtreecommitdiff
path: root/common/spl/spl.c
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2014-02-03 12:59:01 (GMT)
committerTom Rini <trini@ti.com>2014-02-19 15:47:43 (GMT)
commitfff40a7e02092eee11970e7001c8560df419cac1 (patch)
tree503236e40ccc5a43f559ecf1ab61e216e73d0780 /common/spl/spl.c
parent054c8388345184e38c7bd7f64a529fa346b63df2 (diff)
downloadu-boot-fff40a7e02092eee11970e7001c8560df419cac1.tar.xz
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.c5
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();