aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/m68k/include/asm/cacheflush_no.h19
-rw-r--r--arch/m68k/include/asm/m5206sim.h98
-rw-r--r--arch/m68k/include/asm/m523xsim.h24
-rw-r--r--arch/m68k/include/asm/m5249sim.h98
-rw-r--r--arch/m68k/include/asm/m525xsim.h70
-rw-r--r--arch/m68k/include/asm/m5272sim.h99
-rw-r--r--arch/m68k/include/asm/m527xsim.h84
-rw-r--r--arch/m68k/include/asm/m528xsim.h51
-rw-r--r--arch/m68k/include/asm/m5307sim.h136
-rw-r--r--arch/m68k/include/asm/m532xsim.h1189
-rw-r--r--arch/m68k/include/asm/m5407sim.h110
-rw-r--r--arch/m68k/include/asm/m54xxgpt.h40
-rw-r--r--arch/m68k/include/asm/m54xxsim.h27
-rw-r--r--arch/m68k/include/asm/mcfslt.h7
-rw-r--r--arch/m68k/include/asm/nettel.h9
-rw-r--r--arch/m68k/platform/68VZ328/Makefile8
-rw-r--r--arch/m68k/platform/coldfire/device.c4
-rw-r--r--arch/m68k/platform/coldfire/head.S2
-rw-r--r--arch/m68k/platform/coldfire/intc-5249.c10
-rw-r--r--arch/m68k/platform/coldfire/intc-5272.c20
-rw-r--r--arch/m68k/platform/coldfire/intc.c28
-rw-r--r--arch/m68k/platform/coldfire/m523x.c8
-rw-r--r--arch/m68k/platform/coldfire/m5249.c10
-rw-r--r--arch/m68k/platform/coldfire/m525x.c4
-rw-r--r--arch/m68k/platform/coldfire/m5272.c19
-rw-r--r--arch/m68k/platform/coldfire/m527x.c24
-rw-r--r--arch/m68k/platform/coldfire/m528x.c6
-rw-r--r--arch/m68k/platform/coldfire/m532x.c221
-rw-r--r--arch/m68k/platform/coldfire/m54xx.c16
-rw-r--r--arch/m68k/platform/coldfire/nettel.c4
-rw-r--r--arch/m68k/platform/coldfire/pci.c4
-rw-r--r--arch/m68k/platform/coldfire/reset.c2
-rw-r--r--arch/m68k/platform/coldfire/sltimers.c4
-rw-r--r--arch/m68k/platform/coldfire/timers.c4
-rw-r--r--drivers/watchdog/m54xx_wdt.c21
35 files changed, 702 insertions, 1778 deletions
diff --git a/arch/m68k/include/asm/cacheflush_no.h b/arch/m68k/include/asm/cacheflush_no.h
index 7cafb537d03c..d2b3935ae147 100644
--- a/arch/m68k/include/asm/cacheflush_no.h
+++ b/arch/m68k/include/asm/cacheflush_no.h
@@ -34,10 +34,9 @@ static inline void __clear_cache_all(void)
34{ 34{
35#ifdef CACHE_INVALIDATE 35#ifdef CACHE_INVALIDATE
36 __asm__ __volatile__ ( 36 __asm__ __volatile__ (
37 "movel %0, %%d0\n\t" 37 "movec %0, %%CACR\n\t"
38 "movec %%d0, %%CACR\n\t"
39 "nop\n\t" 38 "nop\n\t"
40 : : "i" (CACHE_INVALIDATE) : "d0" ); 39 : : "r" (CACHE_INVALIDATE) );
41#endif 40#endif
42} 41}
43 42
@@ -58,10 +57,9 @@ static inline void __flush_icache_all(void)
58{ 57{
59#ifdef CACHE_INVALIDATEI 58#ifdef CACHE_INVALIDATEI
60 __asm__ __volatile__ ( 59 __asm__ __volatile__ (
61 "movel %0, %%d0\n\t" 60 "movec %0, %%CACR\n\t"
62 "movec %%d0, %%CACR\n\t"
63 "nop\n\t" 61 "nop\n\t"
64 : : "i" (CACHE_INVALIDATEI) : "d0" ); 62 : : "r" (CACHE_INVALIDATEI) );
65#endif 63#endif
66} 64}
67 65
@@ -72,19 +70,18 @@ static inline void __flush_dcache_all(void)
72#endif 70#endif
73#ifdef CACHE_INVALIDATED 71#ifdef CACHE_INVALIDATED
74 __asm__ __volatile__ ( 72 __asm__ __volatile__ (
75 "movel %0, %%d0\n\t" 73 "movec %0, %%CACR\n\t"
76 "movec %%d0, %%CACR\n\t"
77 "nop\n\t" 74 "nop\n\t"
78 : : "i" (CACHE_INVALIDATED) : "d0" ); 75 : : "r" (CACHE_INVALIDATED) );
79#else 76#else
80 /* Flush the wrtite buffer */ 77 /* Flush the write buffer */
81 __asm__ __volatile__ ( "nop" ); 78 __asm__ __volatile__ ( "nop" );
82#endif 79#endif
83} 80}
84 81
85/* 82/*
86 * Push cache entries at supplied address. We want to write back any dirty 83 * Push cache entries at supplied address. We want to write back any dirty
87 * data and the invalidate the cache lines associated with this address. 84 * data and then invalidate the cache lines associated with this address.
88 */ 85 */
89static inline void cache_push(unsigned long paddr, int len) 86static inline void cache_push(unsigned long paddr, int len)
90{ 87{
diff --git a/arch/m68k/include/asm/m5206sim.h b/arch/m68k/include/asm/m5206sim.h
index 69722366b084..4cf864f5ea7a 100644
--- a/arch/m68k/include/asm/m5206sim.h
+++ b/arch/m68k/include/asm/m5206sim.h
@@ -21,33 +21,33 @@
21/* 21/*
22 * Define the 5206 SIM register set addresses. 22 * Define the 5206 SIM register set addresses.
23 */ 23 */
24#define MCFSIM_SIMR 0x03 /* SIM Config reg (r/w) */ 24#define MCFSIM_SIMR (MCF_MBAR + 0x03) /* SIM Config reg */
25#define MCFSIM_ICR1 0x14 /* Intr Ctrl reg 1 (r/w) */ 25#define MCFSIM_ICR1 (MCF_MBAR + 0x14) /* Intr Ctrl reg 1 */
26#define MCFSIM_ICR2 0x15 /* Intr Ctrl reg 2 (r/w) */ 26#define MCFSIM_ICR2 (MCF_MBAR + 0x15) /* Intr Ctrl reg 2 */
27#define MCFSIM_ICR3 0x16 /* Intr Ctrl reg 3 (r/w) */ 27#define MCFSIM_ICR3 (MCF_MBAR + 0x16) /* Intr Ctrl reg 3 */
28#define MCFSIM_ICR4 0x17 /* Intr Ctrl reg 4 (r/w) */ 28#define MCFSIM_ICR4 (MCF_MBAR + 0x17) /* Intr Ctrl reg 4 */
29#define MCFSIM_ICR5 0x18 /* Intr Ctrl reg 5 (r/w) */ 29#define MCFSIM_ICR5 (MCF_MBAR + 0x18) /* Intr Ctrl reg 5 */
30#define MCFSIM_ICR6 0x19 /* Intr Ctrl reg 6 (r/w) */ 30#define MCFSIM_ICR6 (MCF_MBAR + 0x19) /* Intr Ctrl reg 6 */
31#define MCFSIM_ICR7 0x1a /* Intr Ctrl reg 7 (r/w) */ 31#define MCFSIM_ICR7 (MCF_MBAR + 0x1a) /* Intr Ctrl reg 7 */
32#define MCFSIM_ICR8 0x1b /* Intr Ctrl reg 8 (r/w) */ 32#define MCFSIM_ICR8 (MCF_MBAR + 0x1b) /* Intr Ctrl reg 8 */
33#define MCFSIM_ICR9 0x1c /* Intr Ctrl reg 9 (r/w) */ 33#define MCFSIM_ICR9 (MCF_MBAR + 0x1c) /* Intr Ctrl reg 9 */
34#define MCFSIM_ICR10 0x1d /* Intr Ctrl reg 10 (r/w) */ 34#define MCFSIM_ICR10 (MCF_MBAR + 0x1d) /* Intr Ctrl reg 10 */
35#define MCFSIM_ICR11 0x1e /* Intr Ctrl reg 11 (r/w) */ 35#define MCFSIM_ICR11 (MCF_MBAR + 0x1e) /* Intr Ctrl reg 11 */
36#define MCFSIM_ICR12 0x1f /* Intr Ctrl reg 12 (r/w) */ 36#define MCFSIM_ICR12 (MCF_MBAR + 0x1f) /* Intr Ctrl reg 12 */
37#define MCFSIM_ICR13 0x20 /* Intr Ctrl reg 13 (r/w) */ 37#define MCFSIM_ICR13 (MCF_MBAR + 0x20) /* Intr Ctrl reg 13 */
38#ifdef CONFIG_M5206e 38#ifdef CONFIG_M5206e
39#define MCFSIM_ICR14 0x21 /* Intr Ctrl reg 14 (r/w) */ 39#define MCFSIM_ICR14 (MCF_MBAR + 0x21) /* Intr Ctrl reg 14 */
40#define MCFSIM_ICR15 0x22 /* Intr Ctrl reg 15 (r/w) */ 40#define MCFSIM_ICR15 (MCF_MBAR + 0x22) /* Intr Ctrl reg 15 */
41#endif 41#endif
42 42
43#define MCFSIM_IMR 0x36 /* Interrupt Mask reg (r/w) */ 43#define MCFSIM_IMR (MCF_MBAR + 0x36) /* Interrupt Mask */
44#define MCFSIM_IPR 0x3a /* Interrupt Pend reg (r/w) */ 44#define MCFSIM_IPR (MCF_MBAR + 0x3a) /* Interrupt Pending */
45 45
46#define MCFSIM_RSR 0x40 /* Reset Status reg (r/w) */ 46#define MCFSIM_RSR (MCF_MBAR + 0x40) /* Reset Status */
47#define MCFSIM_SYPCR 0x41 /* System Protection reg (r/w)*/ 47#define MCFSIM_SYPCR (MCF_MBAR + 0x41) /* System Protection */
48 48
49#define MCFSIM_SWIVR 0x42 /* SW Watchdog intr reg (r/w) */ 49#define MCFSIM_SWIVR (MCF_MBAR + 0x42) /* SW Watchdog intr */
50#define MCFSIM_SWSR 0x43 /* SW Watchdog service (r/w) */ 50#define MCFSIM_SWSR (MCF_MBAR + 0x43) /* SW Watchdog srv */
51 51
52#define MCFSIM_DCRR (MCF_MBAR + 0x46) /* DRAM Refresh reg (r/w) */ 52#define MCFSIM_DCRR (MCF_MBAR + 0x46) /* DRAM Refresh reg (r/w) */
53#define MCFSIM_DCTR (MCF_MBAR + 0x4a) /* DRAM Timing reg (r/w) */ 53#define MCFSIM_DCTR (MCF_MBAR + 0x4a) /* DRAM Timing reg (r/w) */
@@ -58,36 +58,36 @@
58#define MCFSIM_DMR1 (MCF_MBAR + 0x5c) /* DRAM 1 Mask reg (r/w) */ 58#define MCFSIM_DMR1 (MCF_MBAR + 0x5c) /* DRAM 1 Mask reg (r/w) */
59#define MCFSIM_DCR1 (MCF_MBAR + 0x63) /* DRAM 1 Control reg (r/w) */ 59#define MCFSIM_DCR1 (MCF_MBAR + 0x63) /* DRAM 1 Control reg (r/w) */
60 60
61#define MCFSIM_CSAR0 0x64 /* CS 0 Address 0 reg (r/w) */ 61#define MCFSIM_CSAR0 (MCF_MBAR + 0x64) /* CS 0 Address reg */
62#define MCFSIM_CSMR0 0x68 /* CS 0 Mask 0 reg (r/w) */ 62#define MCFSIM_CSMR0 (MCF_MBAR + 0x68) /* CS 0 Mask reg */
63#define MCFSIM_CSCR0 0x6e /* CS 0 Control reg (r/w) */