[U-Boot] [PATCH] Revert "rockchip: Move the MMC setup check earlier"

Simon Glass sjg at chromium.org
Sat Jul 23 04:57:09 CEST 2016


On 18 July 2016 at 20:13, Ziyuan Xu <xzy.xu at rock-chips.com> wrote:
> Boot Rom wouldn't initialize sdmmc while booting from eMMC. We need to
> setup sdmmc gpio, otherwise we will hit an error below:
>
> =>mmc info
> blk_get_device: if_type=6, devnum=0: dwmmc at ff0c0000.blk, 6, 0
> uclass_find_device_by_seq: 0 -1
> uclass_find_device_by_seq: 0 0
>    - -1 -1
>    - -1 0
>    - found
> uclass_find_device_by_seq: 0 1
>    - -1 -1
>    - -1 0
>    - not found
> fdtdec_get_int_array: interrupts
> get_prop_check_min_len: interrupts
> Buswidth = 1, clock: 0
> Buswidth = 1, clock: 400000
> Sending CMD0
> dwmci_send_cmd: Timeout on data busy
> dwmci_send_cmd: Timeout on data busy
> dwmci_send_cmd: Timeout on data busy
> dwmci_send_cmd: Timeout on data busy
>
> This reverts commit 6efeeea79c880d3dd262e0dca9da2687f0ab68c9.
>
> Signed-off-by: Ziyuan Xu <xzy.xu at rock-chips.com>
> ---
>
>  arch/arm/mach-rockchip/rk3288-board-spl.c | 28 ++++++++++++++--------------
>  1 file changed, 14 insertions(+), 14 deletions(-)

Acked-by: Simon Glass <sjg at chromium.org>
Tested on firefly-rk3288:
Tested-by: Simon Glass <sjg at chromium.org>

I think this is safe to apply now that we have reduced SPL size.

- Simon


More information about the U-Boot mailing list