summaryrefslogtreecommitdiff
path: root/common
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
parent022b4975c8dd304fa9f949594784f78601ae07c2 (diff)
downloadu-boot-imx-a4cc1c487757fe71ee13adead888c8010191c961.zip
u-boot-imx-a4cc1c487757fe71ee13adead888c8010191c961.tar.gz
u-boot-imx-a4cc1c487757fe71ee13adead888c8010191c961.tar.bz2
SPL: SPI: Enhance spi_spl_load to match the other load functions
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'common')
-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 95dd9d5..40de454 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");