Commit cd3272ef authored by Haojian Zhuang's avatar Haojian Zhuang
Browse files

hikey: add delay after eMMC initialized



It boots failure on CircuitCo HiKey board. The delay could fix the
hang issue.
Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@linaro.org>
parent 55dd52a3
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <bl_common.h> #include <bl_common.h>
#include <console.h> #include <console.h>
#include <debug.h> #include <debug.h>
#include <delay_timer.h>
#include <desc_image_load.h> #include <desc_image_load.h>
#include <dw_mmc.h> #include <dw_mmc.h>
#include <errno.h> #include <errno.h>
...@@ -333,6 +334,7 @@ void bl2_platform_setup(void) ...@@ -333,6 +334,7 @@ void bl2_platform_setup(void)
params.flags = MMC_FLAG_CMD23; params.flags = MMC_FLAG_CMD23;
info.mmc_dev_type = MMC_IS_EMMC; info.mmc_dev_type = MMC_IS_EMMC;
dw_mmc_init(&params, &info); dw_mmc_init(&params, &info);
mdelay(5);
hikey_io_setup(); hikey_io_setup();
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment