diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2009-01-26 10:34:52 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-03-13 05:33:45 -0400 |
commit | 5512e88f3a1f1b498fd07181f14596ee117b3471 (patch) | |
tree | c764b8ebbc0030147d7b7bf9a150a464d4d5904d /arch/arm/mach-mx2/serial.c | |
parent | ccfe30a7c8329e85ae426813a1060e27e2547dd1 (diff) |
arm/imx21: add kbuild support for the Freescale i.MX21
* adds Kconfig variables
* specifies different physical address for i.MX21 because of the
different memory layouts
* disables support for UART5/UART6 in the i.MX serial driver
(the i.MX21 doesn't have those modules)
Based on code from "Martin Fuzzey" <mfuzzey@gmail.com>
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx2/serial.c')
-rw-r--r-- | arch/arm/mach-mx2/serial.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx2/serial.c b/arch/arm/mach-mx2/serial.c index 16debc296dad..b9e66fb11860 100644 --- a/arch/arm/mach-mx2/serial.c +++ b/arch/arm/mach-mx2/serial.c | |||
@@ -99,6 +99,7 @@ struct platform_device mxc_uart_device3 = { | |||
99 | .num_resources = ARRAY_SIZE(uart3), | 99 | .num_resources = ARRAY_SIZE(uart3), |
100 | }; | 100 | }; |
101 | 101 | ||
102 | #ifdef CONFIG_MACH_MX27 | ||
102 | static struct resource uart4[] = { | 103 | static struct resource uart4[] = { |
103 | { | 104 | { |
104 | .start = UART5_BASE_ADDR, | 105 | .start = UART5_BASE_ADDR, |
@@ -136,3 +137,4 @@ struct platform_device mxc_uart_device5 = { | |||
136 | .resource = uart5, | 137 | .resource = uart5, |
137 | .num_resources = ARRAY_SIZE(uart5), | 138 | .num_resources = ARRAY_SIZE(uart5), |
138 | }; | 139 | }; |
140 | #endif | ||