summaryrefslogtreecommitdiff
path: root/arch/ppc/platforms/83xx
diff options
context:
space:
mode:
authorKumar Gala <galak@freescale.com>2005-05-28 22:52:15 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-28 23:46:16 (GMT)
commitf9e4a005827ec0b33f0c61fec1634a5a3421decd (patch)
treeb0c90680abd6d4b9f7423a7dd935d20b65ee30ee /arch/ppc/platforms/83xx
parentff945023c6a455679165b14d298316e262ceeb1f (diff)
downloadlinux-f9e4a005827ec0b33f0c61fec1634a5a3421decd.tar.xz
[PATCH] ppc32: Add soft reset to MPC834x
This change allows mpc83xx_restart to issue a software reset. Signed-off-by: Randy Vinson <rvinson@mvista.com> Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc/platforms/83xx')
-rw-r--r--arch/ppc/platforms/83xx/mpc834x_sys.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/ppc/platforms/83xx/mpc834x_sys.h b/arch/ppc/platforms/83xx/mpc834x_sys.h
index 49db0f4..a2f6e49 100644
--- a/arch/ppc/platforms/83xx/mpc834x_sys.h
+++ b/arch/ppc/platforms/83xx/mpc834x_sys.h
@@ -28,6 +28,12 @@
#define BCSR_PHYS_ADDR ((uint)0xf8000000)
#define BCSR_SIZE ((uint)(32 * 1024))
+#define BCSR_MISC_REG2_OFF 0x07
+#define BCSR_MISC_REG2_PORESET 0x01
+
+#define BCSR_MISC_REG3_OFF 0x08
+#define BCSR_MISC_REG3_CNFLOCK 0x80
+
#ifdef CONFIG_PCI
/* PCI interrupt controller */
#define PIRQA MPC83xx_IRQ_IRQ4