summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2012-03-28 10:59:18 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2012-04-20 14:54:55 +0100
commit4281440192a1ca103b404e6c3a4e7e0c475bc6b8 (patch)
tree3ffd7e8c60e2c6b08e3cad63858b5b4c0c340b93 /arch
parent1ca7d878767b2ad64f6bbe61485c8f1846655ead (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.c1
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();
}