mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
cm-t54: fix eMMC boot mode check
Boot from eMMC boot partition corresponds to BOOT_DEVICE_MMC2 omap_bootmode, while BOOT_DEVICE_MMC2_2 corresponds to the user data partition boot. Fix mmc_get_env_part() boot mode check to use a correct value. Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
This commit is contained in:
parent
91c9885e6d
commit
e1c9895c8f
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ uint mmc_get_env_part(struct mmc *mmc)
|
||||||
* If booted from eMMC boot partition then force eMMC
|
* If booted from eMMC boot partition then force eMMC
|
||||||
* FIRST boot partition to be env storage
|
* FIRST boot partition to be env storage
|
||||||
*/
|
*/
|
||||||
if (bootmode == BOOT_DEVICE_MMC2_2)
|
if (bootmode == BOOT_DEVICE_MMC2)
|
||||||
bootpart = 1;
|
bootpart = 1;
|
||||||
|
|
||||||
return bootpart;
|
return bootpart;
|
||||||
|
|
Loading…
Add table
Reference in a new issue