summaryrefslogtreecommitdiffstats
path: root/include/spl.h
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2015-11-08 17:11:54 +0200
committerTom Rini <trini@konsulko.com>2015-11-18 14:50:05 -0500
commita1e56cf6d430d78db3a4dc08a422311145e32315 (patch)
treefbb5d3da1633eda25681e83e0cd6e4ec04fd785f /include/spl.h
parent7b9e980e870294ab36f5b0f36abcb034a4955d29 (diff)
downloadblackbird-obmc-uboot-a1e56cf6d430d78db3a4dc08a422311145e32315.tar.gz
blackbird-obmc-uboot-a1e56cf6d430d78db3a4dc08a422311145e32315.zip
spl: mmc: add support for BOOT_DEVICE_MMC2
Currently the mmc device that SPL looks at is always mmc0, regardless of the BOOT_DEVICE_MMCx value. This forces some boards to implement hacks in order to boot from other mmc devices. Make SPL take into account the correct mmc device. Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/spl.h')
-rw-r--r--include/spl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/spl.h b/include/spl.h
index 46fc454c22..92cdc049d4 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -54,7 +54,7 @@ int spl_onenand_load_image(void);
int spl_nor_load_image(void);
/* MMC SPL functions */
-int spl_mmc_load_image(void);
+int spl_mmc_load_image(u32 boot_device);
/* YMODEM SPL functions */
int spl_ymodem_load_image(void);
OpenPOWER on IntegriCloud