]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-m68knommu/coldfire.h
Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-mmc
[linux-2.6-omap-h63xx.git] / include / asm-m68knommu / coldfire.h
index 1df3f666a28e05eeae35824587cdf25497aae017..2fabca91df839d561181c739e7a10434e12db1d1 100644 (file)
@@ -12,7 +12,6 @@
 #define        coldfire_h
 /****************************************************************************/
 
-#include <linux/config.h>
 
 /*
  *     Define the processor support peripherals base address.
  */
 #define        MCF_MBAR        0x10000000
 #define        MCF_MBAR2       0x80000000
+#if defined(CONFIG_M520x)
+#define        MCF_IPSBAR      0xFC000000
+#else
 #define        MCF_IPSBAR      0x40000000
+#endif
 
-#if defined(CONFIG_M523x) || defined(CONFIG_M527x) || defined(CONFIG_M528x)
+#if defined(CONFIG_M523x) || defined(CONFIG_M527x) || defined(CONFIG_M528x) || \
+    defined(CONFIG_M520x)
 #undef MCF_MBAR
 #define        MCF_MBAR        MCF_IPSBAR
 #endif
@@ -78,7 +82,8 @@
  *     One some ColdFire family members the bus clock (used by internal
  *     peripherals) is not the same as the CPU clock.
  */
-#if defined(CONFIG_M523x) || defined(CONFIG_M5249) || defined(CONFIG_M527x)
+#if defined(CONFIG_M523x) || defined(CONFIG_M5249) || defined(CONFIG_M527x) || \
+    defined(CONFIG_M520x)
 #define        MCF_BUSCLK      (MCF_CLK / 2)
 #else
 #define        MCF_BUSCLK      MCF_CLK