aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/devices.c')
-rw-r--r--arch/arm/mach-imx/devices.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/arch/arm/mach-imx/devices.c b/arch/arm/mach-imx/devices.c
index 84e6da6b8c0c..b4bf8fc80216 100644
--- a/arch/arm/mach-imx/devices.c
+++ b/arch/arm/mach-imx/devices.c
@@ -70,37 +70,6 @@ struct platform_device imx1_camera_device = {
70 .num_resources = ARRAY_SIZE(imx1_camera_resources), 70 .num_resources = ARRAY_SIZE(imx1_camera_resources),
71}; 71};
72 72
73#define DEFINE_IMX1_UART_DEVICE(n, baseaddr, irqrx, irqtx, irqrts) \
74 static struct resource imx1_uart_resources ## n[] = { \
75 { \
76 .start = baseaddr, \
77 .end = baseaddr + 0xd0, \
78 .flags = IORESOURCE_MEM, \
79 }, { \
80 .start = irqrx, \
81 .end = irqrx, \
82 .flags = IORESOURCE_IRQ, \
83 }, { \
84 .start = irqtx, \
85 .end = irqtx, \
86 .flags = IORESOURCE_IRQ, \
87 }, { \
88 .start = irqrts, \
89 .end = irqrts, \
90 .flags = IORESOURCE_IRQ, \
91 }, \
92 }; \
93 \
94 struct platform_device imx1_uart_device ## n = { \
95 .name = "imx-uart", \
96 .id = n, \
97 .num_resources = ARRAY_SIZE(imx1_uart_resources ## n), \
98 .resource = imx1_uart_resources ## n, \
99 }
100
101DEFINE_IMX1_UART_DEVICE(0, MX1_UART1_BASE_ADDR, MX1_UART1_MINT_RX, MX1_UART1_MINT_TX, MX1_UART1_MINT_RTS);
102DEFINE_IMX1_UART_DEVICE(1, MX1_UART2_BASE_ADDR, MX1_UART2_MINT_RX, MX1_UART2_MINT_TX, MX1_UART2_MINT_RTS);
103
104static struct resource imx_rtc_resources[] = { 73static struct resource imx_rtc_resources[] = {
105 { 74 {
106 .start = 0x00204000, 75 .start = 0x00204000,