summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2009-04-30 23:15:56 +1000
committerGreg Ungerer <gerg@uclinux.org>2009-06-11 13:09:10 +1000
commitdd65b1de553ddfd85e8fea9d3aa9db7479ccf2aa (patch)
treeaf2bf7239b3801601c3bf9e92346d8c9bfc5c25c /arch/m68k/include/asm
parent4c0b008d49e728735f54419e60446480017bfe1b (diff)
downloadop-kernel-dev-dd65b1de553ddfd85e8fea9d3aa9db7479ccf2aa.zip
op-kernel-dev-dd65b1de553ddfd85e8fea9d3aa9db7479ccf2aa.tar.gz
m68knommu: move CPU reset code for the 528x ColdFire into its platform code
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/include/asm')
-rw-r--r--arch/m68k/include/asm/m528xsim.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/m528xsim.h b/arch/m68k/include/asm/m528xsim.h
index 28bf783..d79c49f 100644
--- a/arch/m68k/include/asm/m528xsim.h
+++ b/arch/m68k/include/asm/m528xsim.h
@@ -56,6 +56,14 @@
#define MCF5282_INTC0_ICR17 (volatile u8 *) (MCF_IPSBAR + 0x0C51)
+/*
+ * Reset Control Unit (relative to IPSBAR).
+ */
+#define MCF_RCR 0x110000
+#define MCF_RSR 0x110001
+
+#define MCF_RCR_SWRESET 0x80 /* Software reset bit */
+#define MCF_RCR_FRCSTOUT 0x40 /* Force external reset */
/*********************************************************************
*
OpenPOWER on IntegriCloud