diff options
author | Nikita Kiryanov <nikita@compulab.co.il> | 2015-11-08 17:11:54 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-11-18 14:50:05 -0500 |
commit | a1e56cf6d430d78db3a4dc08a422311145e32315 (patch) | |
tree | fbb5d3da1633eda25681e83e0cd6e4ec04fd785f /include/spl.h | |
parent | 7b9e980e870294ab36f5b0f36abcb034a4955d29 (diff) | |
download | u-boot-imx-a1e56cf6d430d78db3a4dc08a422311145e32315.zip u-boot-imx-a1e56cf6d430d78db3a4dc08a422311145e32315.tar.gz u-boot-imx-a1e56cf6d430d78db3a4dc08a422311145e32315.tar.bz2 |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/spl.h b/include/spl.h index 46fc454..92cdc04 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); |