浏览代码

m68knommu: move ColdFire 5249 MBAR2 definition

The MBAR2 register is only used on the ColdFire 5249 part, so move its
definition out of the common coldfire.h and into the 5249 support header.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Greg Ungerer 14 年之前
父节点
当前提交
f2ba710d17
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. 0 1
      arch/m68k/include/asm/coldfire.h
  2. 5 0
      arch/m68k/include/asm/m5249sim.h

+ 0 - 1
arch/m68k/include/asm/coldfire.h

@@ -31,7 +31,6 @@
  *	This is generally setup by the boards start up code.
  */
 #define	MCF_MBAR	0x10000000
-#define	MCF_MBAR2	0x80000000
 #if defined(CONFIG_M54xx)
 #define	MCF_IPSBAR	MCF_MBAR
 #elif defined(CONFIG_M520x)

+ 5 - 0
arch/m68k/include/asm/m5249sim.h

@@ -16,6 +16,11 @@
 
 #include <asm/m52xxacr.h>
 
+/*
+ *	The 5249 has a second MBAR region, define its address.
+ */
+#define	MCF_MBAR2		0x80000000
+
 /*
  *	Define the 5249 SIM register set addresses.
  */