aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/m5249sim.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-12-23 21:38:40 -0500
committerGreg Ungerer <gerg@uclinux.org>2012-03-04 18:43:09 -0500
commit2424f549020b6f87ea3b6e89fd7bd26ddf1f717b (patch)
treec1adc43406e79ad5bf2d0e412852a748eca6f956 /arch/m68k/include/asm/m5249sim.h
parent36d175a4b249235927d75fb681484bd97cc4ea41 (diff)
m68knommu: make 5249 QSPI platform addressing consistent
If we make all QSPI (SPI protocol) addressing consistent across all ColdFire family members then we will be able to remove the duplicated plaform data and code and use a single setup for all. So modify the ColdFire 5249 QSPI addressing so that: . base addresses are absolute (not relative to MBAR peripheral register) . use a common name for IRQs used . move chip select definitions (CS) to appropriate header Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/include/asm/m5249sim.h')
-rw-r--r--arch/m68k/include/asm/m5249sim.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/m5249sim.h b/arch/m68k/include/asm/m5249sim.h
index 3e31508619c1..7f0c2c3660fd 100644
--- a/arch/m68k/include/asm/m5249sim.h
+++ b/arch/m68k/include/asm/m5249sim.h
@@ -80,6 +80,17 @@
80#define MCFUART_BASE1 (MCF_MBAR + 0x200) /* Base address UART1 */ 80#define MCFUART_BASE1 (MCF_MBAR + 0x200) /* Base address UART1 */
81 81
82/* 82/*
83 * QSPI module.
84 */
85#define MCFQSPI_BASE (MCF_MBAR + 0x300) /* Base address QSPI */
86#define MCFQSPI_SIZE 0x40 /* Register set size */
87
88#define MCFQSPI_CS0 29
89#define MCFQSPI_CS1 24
90#define MCFQSPI_CS2 21
91#define MCFQSPI_CS3 22
92
93/*
83 * DMA unit base addresses. 94 * DMA unit base addresses.
84 */ 95 */
85#define MCFDMA_BASE0 (MCF_MBAR + 0x300) /* Base address DMA 0 */ 96#define MCFDMA_BASE0 (MCF_MBAR + 0x300) /* Base address DMA 0 */