diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2015-01-19 22:31:10 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2015-01-23 00:50:57 +0900 |
commit | 448437496b7cb2b7a80d4b3ada9f225506379c5c (patch) | |
tree | 12dc9f56fd38004aa88e646bd06e4f5983e8f171 | |
parent | 061ae4c0bbe8df9aeedfa4a1e6a6dc122a4c157f (diff) | |
download | u-boot-448437496b7cb2b7a80d4b3ada9f225506379c5c.tar.gz u-boot-448437496b7cb2b7a80d4b3ada9f225506379c5c.tar.bz2 u-boot-448437496b7cb2b7a80d4b3ada9f225506379c5c.zip |
ARM: UniPhier: fix IECTRL set code for PH1-Pro4
For PH1-Pro4, the bit 6 of the IECTRL must be set. It is the only
available bit in this register. There is no effect of the write
access to the other bits.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
-rw-r--r-- | arch/arm/cpu/armv7/uniphier/ph1-pro4/sg_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/uniphier/ph1-pro4/sg_init.c b/arch/arm/cpu/armv7/uniphier/ph1-pro4/sg_init.c index 2cc5df608f..b7c4b10969 100644 --- a/arch/arm/cpu/armv7/uniphier/ph1-pro4/sg_init.c +++ b/arch/arm/cpu/armv7/uniphier/ph1-pro4/sg_init.c @@ -23,6 +23,6 @@ void sg_init(void) /* Input ports must be enabled before deasserting reset of cores */ tmp = readl(SG_IECTRL); - tmp |= 0x1; + tmp |= 1 << 6; writel(tmp, SG_IECTRL); } |