aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-11-10 08:59:54 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2009-11-18 04:40:55 -0500
commitc112931377589d751c012fa5c914c17b5d426be1 (patch)
tree02e3ee59cb7c52e3b0522a8573968802363bda4b /arch/arm/plat-mxc
parentb9fc90a48a3d1794443e095d8585dcaeafb2195f (diff)
imx: add namespace prefixes for symbols in mx21.h
The old names are still defined using the new names. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r--arch/arm/plat-mxc/include/mach/mx21.h95
1 files changed, 64 insertions, 31 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx21.h b/arch/arm/plat-mxc/include/mach/mx21.h
index 2b1fccb748fb..986f08bd9c0f 100644
--- a/arch/arm/plat-mxc/include/mach/mx21.h
+++ b/arch/arm/plat-mxc/include/mach/mx21.h
@@ -26,45 +26,78 @@
26#define __ASM_ARCH_MXC_MX21_H__ 26#define __ASM_ARCH_MXC_MX21_H__
27 27
28/* Memory regions and CS */ 28/* Memory regions and CS */
29#define SDRAM_BASE_ADDR 0xC0000000 29#define MX21_SDRAM_BASE_ADDR 0xc0000000
30#define CSD1_BASE_ADDR 0xC4000000 30#define MX21_CSD1_BASE_ADDR 0xc4000000
31 31
32#define CS0_BASE_ADDR 0xC8000000 32#define MX21_CS0_BASE_ADDR 0xc8000000
33#define CS1_BASE_ADDR 0xCC000000 33#define MX21_CS1_BASE_ADDR 0xcc000000
34#define CS2_BASE_ADDR 0xD0000000 34#define MX21_CS2_BASE_ADDR 0xd0000000
35#define CS3_BASE_ADDR 0xD1000000 35#define MX21_CS3_BASE_ADDR 0xd1000000
36#define CS4_BASE_ADDR 0xD2000000 36#define MX21_CS4_BASE_ADDR 0xd2000000
37#define PCMCIA_MEM_BASE_ADDR 0xD4000000 37#define MX21_PCMCIA_MEM_BASE_ADDR 0xd4000000
38#define CS5_BASE_ADDR 0xDD000000 38#define MX21_CS5_BASE_ADDR 0xdd000000
39 39
40/* NAND, SDRAM, WEIM etc controllers */ 40/* NAND, SDRAM, WEIM etc controllers */
41#define X_MEMC_BASE_ADDR 0xDF000000 41#define MX21_X_MEMC_BASE_ADDR 0xdf000000
42#define X_MEMC_BASE_ADDR_VIRT 0xF4200000 42#define MX21_X_MEMC_BASE_ADDR_VIRT 0xf4200000
43#define X_MEMC_SIZE SZ_256K 43#define MX21_X_MEMC_SIZE SZ_256K
44 44
45#define SDRAMC_BASE_ADDR (X_MEMC_BASE_ADDR + 0x0000) 45#define MX21_SDRAMC_BASE_ADDR (MX21_X_MEMC_BASE_ADDR + 0x0000)
46#define EIM_BASE_ADDR (X_MEMC_BASE_ADDR + 0x1000) 46#define MX21_EIM_BASE_ADDR (MX21_X_MEMC_BASE_ADDR + 0x1000)
47#define PCMCIA_CTL_BASE_ADDR (X_MEMC_BASE_ADDR + 0x2000) 47#define MX21_PCMCIA_CTL_BASE_ADDR (MX21_X_MEMC_BASE_ADDR + 0x2000)
48#define NFC_BASE_ADDR (X_MEMC_BASE_ADDR + 0x3000) 48#define MX21_NFC_BASE_ADDR (MX21_X_MEMC_BASE_ADDR + 0x3000)
49 49
50#define IRAM_BASE_ADDR 0xFFFFE800 /* internal ram */ 50#define MX21_IRAM_BASE_ADDR 0xffffe800 /* internal ram */
51 51
52/* fixed interrupt numbers */ 52/* fixed interrupt numbers */
53#define MXC_INT_FIRI 9 53#define MX21_INT_FIRI 9
54#define MXC_INT_BMI 30 54#define MX21_INT_BMI 30
55#define MXC_INT_EMMAENC 49 55#define MX21_INT_EMMAENC 49
56#define MXC_INT_EMMADEC 50 56#define MX21_INT_EMMADEC 50
57#define MXC_INT_USBWKUP 53 57#define MX21_INT_USBWKUP 53
58#define MXC_INT_USBDMA 54 58#define MX21_INT_USBDMA 54
59#define MXC_INT_USBHOST 55 59#define MX21_INT_USBHOST 55
60#define MXC_INT_USBFUNC 56 60#define MX21_INT_USBFUNC 56
61#define MXC_INT_USBMNP 57 61#define MX21_INT_USBMNP 57
62#define MXC_INT_USBCTRL 58 62#define MX21_INT_USBCTRL 58
63#define MXC_INT_USBCTRL 58 63#define MX21_INT_USBCTRL 58
64 64
65/* fixed DMA request numbers */ 65/* fixed DMA request numbers */
66#define DMA_REQ_FIRI_RX 4 66#define MX21_DMA_REQ_FIRI_RX 4
67#define DMA_REQ_BMI_TX 28 67#define MX21_DMA_REQ_BMI_TX 28
68#define DMA_REQ_BMI_RX 29 68#define MX21_DMA_REQ_BMI_RX 29
69
70/* these should go away */
71#define SDRAM_BASE_ADDR MX21_SDRAM_BASE_ADDR
72#define CSD1_BASE_ADDR MX21_CSD1_BASE_ADDR
73#define CS0_BASE_ADDR MX21_CS0_BASE_ADDR
74#define CS1_BASE_ADDR MX21_CS1_BASE_ADDR
75#define CS2_BASE_ADDR MX21_CS2_BASE_ADDR
76#define CS3_BASE_ADDR MX21_CS3_BASE_ADDR
77#define CS4_BASE_ADDR MX21_CS4_BASE_ADDR
78#define PCMCIA_MEM_BASE_ADDR MX21_PCMCIA_MEM_BASE_ADDR
79#define CS5_BASE_ADDR MX21_CS5_BASE_ADDR
80#define X_MEMC_BASE_ADDR MX21_X_MEMC_BASE_ADDR
81#define X_MEMC_BASE_ADDR_VIRT MX21_X_MEMC_BASE_ADDR_VIRT
82#define X_MEMC_SIZE MX21_X_MEMC_SIZE
83#define SDRAMC_BASE_ADDR MX21_SDRAMC_BASE_ADDR
84#define EIM_BASE_ADDR MX21_EIM_BASE_ADDR
85#define PCMCIA_CTL_BASE_ADDR MX21_PCMCIA_CTL_BASE_ADDR
86#define NFC_BASE_ADDR MX21_NFC_BASE_ADDR
87#define IRAM_BASE_ADDR MX21_IRAM_BASE_ADDR
88#define MXC_INT_FIRI MX21_INT_FIRI
89#define MXC_INT_BMI MX21_INT_BMI
90#define MXC_INT_EMMAENC MX21_INT_EMMAENC
91#define MXC_INT_EMMADEC MX21_INT_EMMADEC
92#define MXC_INT_USBWKUP MX21_INT_USBWKUP
93#define MXC_INT_USBDMA MX21_INT_USBDMA
94#define MXC_INT_USBHOST MX21_INT_USBHOST
95#define MXC_INT_USBFUNC MX21_INT_USBFUNC
96#define MXC_INT_USBMNP MX21_INT_USBMNP
97#define MXC_INT_USBCTRL MX21_INT_USBCTRL
98#define MXC_INT_USBCTRL MX21_INT_USBCTRL
99#define DMA_REQ_FIRI_RX MX21_DMA_REQ_FIRI_RX
100#define DMA_REQ_BMI_TX MX21_DMA_REQ_BMI_TX
101#define DMA_REQ_BMI_RX MX21_DMA_REQ_BMI_RX
69 102
70#endif /* __ASM_ARCH_MXC_MX21_H__ */ 103#endif /* __ASM_ARCH_MXC_MX21_H__ */