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

hikey: remove delay after eMMC initialized



commit 386b14bf64124ebf0368eab33ef07603e0c3138a
Author: Haojian Zhuang <haojian.zhuang@linaro.org>
Date:   Wed Nov 21 09:19:49 2018 +0800

    mmc: poll eMMC status after EXT_CSD command

    EXT_CSD command needs to access data from eMMC device. Add the
    operation of polling eMMC device status. Make sure the command is
    finished.
Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@linaro.org>

A hacked delay time can't fit each eMMC device. Since the above commit
enables the polling operation, remove the hacked delay time now.
Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@linaro.org>
parent 93768644
...@@ -336,7 +336,6 @@ void bl2_platform_setup(void) ...@@ -336,7 +336,6 @@ 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(20);
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