env_mmc: Fix crashing bug encountered after enabling ARM relocation
The crash was occuring in env_relocate because it was being called prior to mmc_initialize. This patch moves the MMC initialization earlier in the init process. This patch also cleans up the env_relocate_spec code in env_mmc.c Signed-off-by: NSteve Sakoman <steve.sakoman@linaro.org> Acked-by: NStefano Babic <sbabic@denx.de>
Showing
想要评论请 注册 或 登录