summaryrefslogtreecommitdiffstats
path: root/include/asm-m68knommu/coldfire.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2005-11-02 05:59:09 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-02 06:41:19 +0100
commit7ee2cf5f43e8fefa53cf6f32ba8205cce962a348 (patch)
tree7bcc70d97a60f6eede8740513814c114c9bf8e28 /include/asm-m68knommu/coldfire.h
parent[PATCH] m68knommu: use board name defines to differentiate board definitions (diff)
downloadlinux-7ee2cf5f43e8fefa53cf6f32ba8205cce962a348.tar.xz
linux-7ee2cf5f43e8fefa53cf6f32ba8205cce962a348.zip
[PATCH] m68knommu: add 5208 ColdFire support defines for its internal map
Define the register space of the new 5208 ColdFire family (which includes to 5207). It is mostly similar to the other ColdFire parts. Signed-off-by: Greg Ungerer <gerg@uclinux.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-m68knommu/coldfire.h')
-rw-r--r--include/asm-m68knommu/coldfire.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/asm-m68knommu/coldfire.h b/include/asm-m68knommu/coldfire.h
index 1df3f666a28e..6190f77b1e6c 100644
--- a/include/asm-m68knommu/coldfire.h
+++ b/include/asm-m68knommu/coldfire.h
@@ -20,9 +20,14 @@
*/
#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 +83,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