diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2011-01-25 10:08:35 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-02-01 04:26:00 -0500 |
commit | abc1813dc0285353d9ce387b90ffce8acc26227e (patch) | |
tree | 271d5e3c11216f577582eedbd99b60deabaf667b | |
parent | 528f65271f24d1fe9b46065e0fef9571698bd78c (diff) |
ARM: mach-mx5/board-mx53_loco: Remove unused UARTs
On mx53_loco only UART1 is used and its signals go to connector J16.
Remove UART2 and UART3 as they are not used on this board.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/mach-mx5/board-mx53_loco.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/arch/arm/mach-mx5/board-mx53_loco.c b/arch/arm/mach-mx5/board-mx53_loco.c index cba4cd5fd9fd..3aefd6dab046 100644 --- a/arch/arm/mach-mx5/board-mx53_loco.c +++ b/arch/arm/mach-mx5/board-mx53_loco.c | |||
@@ -41,30 +41,8 @@ | |||
41 | static iomux_v3_cfg_t mx53_loco_pads[] = { | 41 | static iomux_v3_cfg_t mx53_loco_pads[] = { |
42 | MX53_PAD_CSI0_DAT10__UART1_TXD_MUX, | 42 | MX53_PAD_CSI0_DAT10__UART1_TXD_MUX, |
43 | MX53_PAD_CSI0_DAT11__UART1_RXD_MUX, | 43 | MX53_PAD_CSI0_DAT11__UART1_RXD_MUX, |
44 | |||
45 | MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX, | ||
46 | MX53_PAD_PATA_DMARQ__UART2_TXD_MUX, | ||
47 | MX53_PAD_PATA_DIOR__UART2_RTS, | ||
48 | MX53_PAD_PATA_INTRQ__UART2_CTS, | ||
49 | |||
50 | MX53_PAD_PATA_CS_0__UART3_TXD_MUX, | ||
51 | MX53_PAD_PATA_CS_1__UART3_RXD_MUX, | ||
52 | MX53_PAD_PATA_DA_1__UART3_CTS, | ||
53 | MX53_PAD_PATA_DA_2__UART3_RTS, | ||
54 | |||
55 | }; | ||
56 | |||
57 | static const struct imxuart_platform_data mx53_loco_uart_data __initconst = { | ||
58 | .flags = IMXUART_HAVE_RTSCTS, | ||
59 | }; | 44 | }; |
60 | 45 | ||
61 | static inline void mx53_loco_init_uart(void) | ||
62 | { | ||
63 | imx53_add_imx_uart(0, NULL); | ||
64 | imx53_add_imx_uart(1, &mx53_loco_uart_data); | ||
65 | imx53_add_imx_uart(2, &mx53_loco_uart_data); | ||
66 | } | ||
67 | |||
68 | static inline void mx53_loco_fec_reset(void) | 46 | static inline void mx53_loco_fec_reset(void) |
69 | { | 47 | { |
70 | int ret; | 48 | int ret; |
@@ -88,7 +66,7 @@ static void __init mx53_loco_board_init(void) | |||
88 | { | 66 | { |
89 | mxc_iomux_v3_setup_multiple_pads(mx53_loco_pads, | 67 | mxc_iomux_v3_setup_multiple_pads(mx53_loco_pads, |
90 | ARRAY_SIZE(mx53_loco_pads)); | 68 | ARRAY_SIZE(mx53_loco_pads)); |
91 | mx53_loco_init_uart(); | 69 | imx53_add_imx_uart(0, NULL); |
92 | mx53_loco_fec_reset(); | 70 | mx53_loco_fec_reset(); |
93 | imx53_add_fec(&mx53_loco_fec_data); | 71 | imx53_add_fec(&mx53_loco_fec_data); |
94 | } | 72 | } |