summaryrefslogtreecommitdiffstats
path: root/common/spl
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-08-14 14:34:10 -0700
committerTom Rini <trini@ti.com>2012-09-27 11:20:27 -0700
commita4cc1c487757fe71ee13adead888c8010191c961 (patch)
tree0d90de362ee96dae3b252bfa70d22ecf67a3fe7b /common/spl
parent022b4975c8dd304fa9f949594784f78601ae07c2 (diff)
downloadtalos-obmc-uboot-a4cc1c487757fe71ee13adead888c8010191c961.tar.gz
talos-obmc-uboot-a4cc1c487757fe71ee13adead888c8010191c961.zip
SPL: SPI: Enhance spi_spl_load to match the other load functions
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'common/spl')
-rw-r--r--common/spl/spl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c
index 95dd9d50cc..40de45491e 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -167,8 +167,8 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
#endif
#ifdef CONFIG_SPL_SPI_SUPPORT
case BOOT_DEVICE_SPI:
- spi_boot();
- break;
+ spl_spi_load_image();
+ break;
#endif
default:
puts("SPL: Un-supported Boot Device\n");
OpenPOWER on IntegriCloud