summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hemp <c.hemp@phytec.de>2013-07-10 15:55:46 +0200
committerJustin Waters <justin.waters@timesys.com>2013-11-07 12:19:34 -0500
commitc0d502ce6e4d8ae90131ebc5d9a2d8956a6e556a (patch)
treefde0a315ee337f7c2867f41a58e56fa6c3364fd4
parent643171d7a3a8cb3e213e94170e409cafa38322a9 (diff)
imx6: Add deleay workarround to fix bootproblems
This is only a workarround to fix bootproblems with i.MX6. Sometimes the kernel dosn't boot and print the message "COULD NOT SET GP VOLTAGE". With the delay it look likes the kernel boot correct. For more informations look at: https://community.freescale.com/message/319514#319514 Signed-off-by: Christian Hemp <c.hemp@phytec.de>
-rw-r--r--arch/arm/mach-mx6/mx6_anatop_regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mx6/mx6_anatop_regulator.c b/arch/arm/mach-mx6/mx6_anatop_regulator.c
index 83bd363dc3e3..e1fc1a13d740 100644
--- a/arch/arm/mach-mx6/mx6_anatop_regulator.c
+++ b/arch/arm/mach-mx6/mx6_anatop_regulator.c
@@ -226,6 +226,7 @@ static int pu_enable(struct anatop_regulator *sreg)
clk_enable(gpu2d_axi_clk);
clk_enable(openvg_axi_clk);
}
+ udelay(150);
/* enable power up request */
reg = __raw_readl(gpc_base + GPC_PGC_GPU_PGCR_OFFSET);
__raw_writel(reg | 0x1, gpc_base + GPC_PGC_GPU_PGCR_OFFSET);