u-boot/arch
Stephan Gerhold 1eb006249e arm: mach-snapdragon: misc: Initialize eMMC if necessary
At the moment U-Boot produces an empty MAC address (02:00:00:00:00:00)
if the eMMC is not used by anything in U-Boot (e.g. with
CONFIG_ENV_IS_NOWHERE=y instead of having the environment on eMMC).
This happens because then there is nothing that actually initializes
the eMMC and reads the "cid" that is later accessed.

To fix this, call mmc_init() to ensure the eMMC is initialized.
There is no functional difference if the eMMC is already initialized
since then mmc_init() will just return without doing anything.

Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
2021-09-02 09:48:20 -04:00
..
arc Kconfig: Remove all default n/no options 2021-08-31 17:47:49 -04:00
arm arm: mach-snapdragon: misc: Initialize eMMC if necessary 2021-09-02 09:48:20 -04:00
m68k m68k: Remove M52277EVB board 2021-07-18 21:03:57 -04:00
microblaze lmb: move CONFIG_LMB in Kconfig 2021-04-22 14:09:45 -04:00
mips Kconfig: Remove all default n/no options 2021-08-31 17:47:49 -04:00
nds32 Kconfig: Remove all default n/no options 2021-08-31 17:47:49 -04:00
nios2 global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
powerpc Finish converting CONFIG_SYS_CACHELINE_SIZE to Kconfig 2021-08-31 17:47:49 -04:00
riscv Kconfig: Remove all default n/no options 2021-08-31 17:47:49 -04:00
sandbox Merge branch 'next' of https://gitlab.denx.de/u-boot/custodians/u-boot-marvell into next 2021-08-31 19:11:15 -04:00
sh global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
x86 Kconfig: Remove all default n/no options 2021-08-31 17:47:49 -04:00
xtensa Kconfig: Remove all default n/no options 2021-08-31 17:47:49 -04:00
.gitignore
Kconfig Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
u-boot-elf.lds