diff options
author | Will Deacon <will.deacon@arm.com> | 2012-03-28 10:59:18 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2012-04-20 14:54:55 +0100 |
commit | 4281440192a1ca103b404e6c3a4e7e0c475bc6b8 (patch) | |
tree | 3ffd7e8c60e2c6b08e3cad63858b5b4c0c340b93 /arch | |
parent | 1ca7d878767b2ad64f6bbe61485c8f1846655ead (diff) |
ARM: realview: remove redundant write to SYS_RESETCTL on reset
The reset control register only needs to be written once on reset.
Furthermore, writing it multiple times as back-to-back stores seems to
confuse the hardware and may result in the reset not taking place at
all.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-realview/realview_pb11mp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-realview/realview_pb11mp.c b/arch/arm/mach-realview/realview_pb11mp.c index 2147335f66f5..70b857234da5 100644 --- a/arch/arm/mach-realview/realview_pb11mp.c +++ b/arch/arm/mach-realview/realview_pb11mp.c @@ -317,7 +317,6 @@ static void realview_pb11mp_restart(char mode, const char *cmd) * in the system FPGA */ __raw_writel(REALVIEW_SYS_LOCK_VAL, lock_ctrl); - __raw_writel(0x0000, reset_ctrl); __raw_writel(0x0004, reset_ctrl); dsb(); } |