diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2005-11-01 14:44:25 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-01 14:44:25 -0500 |
commit | 69a857610ad212ce4bcd8e6b13f25408691403de (patch) | |
tree | 52f7eb9eeb3dbf7e82b8b86b30d6056ee5109c7e | |
parent | a6f1063b388cfd48a598cc7971eae1f83ebc8ba4 (diff) |
[ARM] 3063/1: allow slave ixp2000 cpu reset
Patch from Lennert Buytenhek
On the ixdp2x00, the slave CPU is currently not allowed to reset itself
for fear that it will do something 'funky' on the PCI bus. This fear is
ungrounded -- the slave CPU is wired up such that a CPU reset will not
cause a PCI bus reset to be done. This patch changes arch_reset() so
that the slave CPU also executes the reset sequence, allowing it to
reboot itself using /sbin/reboot.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | include/asm-arm/arch-ixp2000/system.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/asm-arm/arch-ixp2000/system.h b/include/asm-arm/arch-ixp2000/system.h index 4f489cc0dfa5..d9d6d9d07e02 100644 --- a/include/asm-arm/arch-ixp2000/system.h +++ b/include/asm-arm/arch-ixp2000/system.h | |||
@@ -44,11 +44,5 @@ static inline void arch_reset(char mode) | |||
44 | *IXDP2X01_CPLD_RESET_REG = 0x80000000; | 44 | *IXDP2X01_CPLD_RESET_REG = 0x80000000; |
45 | } | 45 | } |
46 | 46 | ||
47 | /* | 47 | *IXP2000_RESET0 = RSTALL; |
48 | * We do a reset all if we are PCI master. We could be a slave and we | ||
49 | * don't want to do anything funky on the PCI bus. | ||
50 | */ | ||
51 | if (*IXP2000_STRAP_OPTIONS & CFG_PCI_BOOT_HOST) { | ||
52 | *(IXP2000_RESET0) |= (RSTALL); | ||
53 | } | ||
54 | } | 48 | } |