From b41031b54e5d4355d2f27f7297b72c030f435167 Mon Sep 17 00:00:00 2001 From: jamess_huang Date: Tue, 17 Oct 2017 14:38:28 +0800 Subject: [PATCH 37/50] add 10ms delay after re-enable EMMC Change-Id: I022d050be22c5436822cb2057e70b17d88e65d7a --- arch/arm/mach-rockchip/rk3288-board.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-rockchip/rk3288-board.c b/arch/arm/mach-rockchip/rk3288-board.c index 32f70a5920..07f4125780 100644 --- a/arch/arm/mach-rockchip/rk3288-board.c +++ b/arch/arm/mach-rockchip/rk3288-board.c @@ -136,6 +136,7 @@ int check_force_enter_ums_mode(void) writel(tmp | 0xc0, RKIO_GPIO6_PHYS + GPIO_SWPORT_DR); tmp = readl(RKIO_GPIO6_PHYS + GPIO_SWPORT_DDR); writel(tmp | 0xc0, RKIO_GPIO6_PHYS + GPIO_SWPORT_DDR); + mdelay(10); } } return 0; -- 2.17.1