aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAneesh V <aneesh@ti.com>2011-11-02 16:38:05 +0530
committerJohn Rigby <john.rigby@linaro.org>2012-01-19 12:54:22 -0700
commit26250227711d9dcea1716476548c7e6bb7c7c8dd (patch)
tree1470524cc3dd262e93d4271624eb205e6fb09304 /arch
parenteacd995c697a1356cc716d0f098e5d3e7cf8e607 (diff)
omap4: fix IO setting
Override CONTROL_EFUSE_2_OVERRIDE unconditionally with hw team recommended value. Presently, the register is overridden only if the POR value is 0. POR value is not working on some of the chips. Signed-off-by: Aneesh V <aneesh@ti.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/omap4/hwinit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/omap4/hwinit.c b/arch/arm/cpu/armv7/omap4/hwinit.c
index 37a86b4c2..0181ece64 100644
--- a/arch/arm/cpu/armv7/omap4/hwinit.c
+++ b/arch/arm/cpu/armv7/omap4/hwinit.c
@@ -113,8 +113,7 @@ void do_io_settings(void)
if ((omap4_rev < OMAP4460_ES1_0) || !readl(&ctrl->control_efuse_1))
writel(CONTROL_EFUSE_1_OVERRIDE, &ctrl->control_efuse_1);
- if (!readl(&ctrl->control_efuse_2))
- writel(CONTROL_EFUSE_2_OVERRIDE, &ctrl->control_efuse_2);
+ writel(CONTROL_EFUSE_2_OVERRIDE, &ctrl->control_efuse_2);
}
#endif