diff options
author | Aneesh V <aneesh@ti.com> | 2011-11-02 16:38:05 +0530 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2011-12-18 22:25:18 -0700 |
commit | c567c2932860c82473242e636977317c65b06f14 (patch) | |
tree | f2d2cb38b59c9bcf6ec511d10b43fa52591c1386 | |
parent | 9e15d962a17d4977540f5fb112fd3331f1559da1 (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>
-rw-r--r-- | arch/arm/cpu/armv7/omap4/hwinit.c | 3 |
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 |