summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2012-02-19 16:27:23 +1000
committerGreg Ungerer <gerg@uclinux.org>2012-03-05 10:42:25 +1000
commit320de7d01c19b6181c592fe8c69b00646ff28962 (patch)
tree9b16c58dd15b20bc51f1a417e181feddfd43825a /arch/m68k/include/asm
parentd894b89bf74322845f776bde4d72b70b58926886 (diff)
downloadtalos-op-linux-320de7d01c19b6181c592fe8c69b00646ff28962.tar.gz
talos-op-linux-320de7d01c19b6181c592fe8c69b00646ff28962.zip
m68knommu: make 523x CPU reset register addressing consistent
If we make all MCF_RCR (CPU reset register) addressing consistent across all ColdFire CPU family members that use it then we will be able to remove the duplicated copies of the code that use it. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/include/asm')
-rw-r--r--arch/m68k/include/asm/m523xsim.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/include/asm/m523xsim.h b/arch/m68k/include/asm/m523xsim.h
index f2d21cef094c..075062d4eecd 100644
--- a/arch/m68k/include/asm/m523xsim.h
+++ b/arch/m68k/include/asm/m523xsim.h
@@ -65,8 +65,8 @@
/*
* Reset Control Unit (relative to IPSBAR).
*/
-#define MCF_RCR 0x110000
-#define MCF_RSR 0x110001
+#define MCF_RCR (MCF_IPSBAR + 0x110000)
+#define MCF_RSR (MCF_IPSBAR + 0x110001)
#define MCF_RCR_SWRESET 0x80 /* Software reset bit */
#define MCF_RCR_FRCSTOUT 0x40 /* Force external reset */
OpenPOWER on IntegriCloud