diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2011-01-25 10:08:33 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-02-01 04:25:08 -0500 |
commit | 67f2a87f92716c3126415e114af57164736bbca5 (patch) | |
tree | 4994adf6d28c3a51809e41c57e4bb47f536d5c2f /arch | |
parent | 039c4644b49ea707a2159c22f638f4f1c0144c69 (diff) |
ARM: mach-mx5: Fix build for mx53_loco and mx53_smd
Commit 816ad74 (ARM: i.MX53: Add full iomux support for mx53) renamed some of the pad names.
Make the changes accordingly so that mx53_loco and mx53_cmd can build without errors.
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx5/board-mx53_loco.c | 29 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx53_smd.c | 28 |
2 files changed, 29 insertions, 28 deletions
diff --git a/arch/arm/mach-mx5/board-mx53_loco.c b/arch/arm/mach-mx5/board-mx53_loco.c index d1348e04ace3..dadc856b210c 100644 --- a/arch/arm/mach-mx5/board-mx53_loco.c +++ b/arch/arm/mach-mx5/board-mx53_loco.c | |||
@@ -39,20 +39,21 @@ | |||
39 | #define LOCO_FEC_PHY_RST IMX_GPIO_NR(7, 6) | 39 | #define LOCO_FEC_PHY_RST IMX_GPIO_NR(7, 6) |
40 | 40 | ||
41 | static iomux_v3_cfg_t mx53_loco_pads[] = { | 41 | static iomux_v3_cfg_t mx53_loco_pads[] = { |
42 | MX53_PAD_CSI0_D10__UART1_TXD, | 42 | MX53_PAD_CSI0_DAT10__UART1_TXD_MUX, |
43 | MX53_PAD_CSI0_D11__UART1_RXD, | 43 | MX53_PAD_CSI0_DAT11__UART1_RXD_MUX, |
44 | MX53_PAD_ATA_DIOW__UART1_TXD, | 44 | MX53_PAD_PATA_DIOW__UART1_TXD_MUX, |
45 | MX53_PAD_ATA_DMACK__UART1_RXD, | 45 | MX53_PAD_PATA_DMACK__UART1_RXD_MUX, |
46 | 46 | ||
47 | MX53_PAD_ATA_BUFFER_EN__UART2_RXD, | 47 | MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX, |
48 | MX53_PAD_ATA_DMARQ__UART2_TXD, | 48 | MX53_PAD_PATA_DMARQ__UART2_TXD_MUX, |
49 | MX53_PAD_ATA_DIOR__UART2_RTS, | 49 | MX53_PAD_PATA_DIOR__UART2_RTS, |
50 | MX53_PAD_ATA_INTRQ__UART2_CTS, | 50 | MX53_PAD_PATA_INTRQ__UART2_CTS, |
51 | 51 | ||
52 | MX53_PAD_ATA_CS_0__UART3_TXD, | 52 | MX53_PAD_PATA_CS_0__UART3_TXD_MUX, |
53 | MX53_PAD_ATA_CS_1__UART3_RXD, | 53 | MX53_PAD_PATA_CS_1__UART3_RXD_MUX, |
54 | MX53_PAD_ATA_DA_1__UART3_CTS, | 54 | MX53_PAD_PATA_DA_1__UART3_CTS, |
55 | MX53_PAD_ATA_DA_2__UART3_RTS, | 55 | MX53_PAD_PATA_DA_2__UART3_RTS, |
56 | |||
56 | }; | 57 | }; |
57 | 58 | ||
58 | static const struct imxuart_platform_data mx53_loco_uart_data __initconst = { | 59 | static const struct imxuart_platform_data mx53_loco_uart_data __initconst = { |
diff --git a/arch/arm/mach-mx5/board-mx53_smd.c b/arch/arm/mach-mx5/board-mx53_smd.c index 7970f7a48588..06070c5969f3 100644 --- a/arch/arm/mach-mx5/board-mx53_smd.c +++ b/arch/arm/mach-mx5/board-mx53_smd.c | |||
@@ -39,20 +39,20 @@ | |||
39 | #define SMD_FEC_PHY_RST IMX_GPIO_NR(7, 6) | 39 | #define SMD_FEC_PHY_RST IMX_GPIO_NR(7, 6) |
40 | 40 | ||
41 | static iomux_v3_cfg_t mx53_smd_pads[] = { | 41 | static iomux_v3_cfg_t mx53_smd_pads[] = { |
42 | MX53_PAD_CSI0_D10__UART1_TXD, | 42 | MX53_PAD_CSI0_DAT10__UART1_TXD_MUX, |
43 | MX53_PAD_CSI0_D11__UART1_RXD, | 43 | MX53_PAD_CSI0_DAT11__UART1_RXD_MUX, |
44 | MX53_PAD_ATA_DIOW__UART1_TXD, | 44 | MX53_PAD_PATA_DIOW__UART1_TXD_MUX, |
45 | MX53_PAD_ATA_DMACK__UART1_RXD, | 45 | MX53_PAD_PATA_DMACK__UART1_RXD_MUX, |
46 | 46 | ||
47 | MX53_PAD_ATA_BUFFER_EN__UART2_RXD, | 47 | MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX, |
48 | MX53_PAD_ATA_DMARQ__UART2_TXD, | 48 | MX53_PAD_PATA_DMARQ__UART2_TXD_MUX, |
49 | MX53_PAD_ATA_DIOR__UART2_RTS, | 49 | MX53_PAD_PATA_DIOR__UART2_RTS, |
50 | MX53_PAD_ATA_INTRQ__UART2_CTS, | 50 | MX53_PAD_PATA_INTRQ__UART2_CTS, |
51 | 51 | ||
52 | MX53_PAD_ATA_CS_0__UART3_TXD, | 52 | MX53_PAD_PATA_CS_0__UART3_TXD_MUX, |
53 | MX53_PAD_ATA_CS_1__UART3_RXD, | 53 | MX53_PAD_PATA_CS_1__UART3_RXD_MUX, |
54 | MX53_PAD_ATA_DA_1__UART3_CTS, | 54 | MX53_PAD_PATA_DA_1__UART3_CTS, |
55 | MX53_PAD_ATA_DA_2__UART3_RTS, | 55 | MX53_PAD_PATA_DA_2__UART3_RTS, |
56 | }; | 56 | }; |
57 | 57 | ||
58 | static const struct imxuart_platform_data mx53_smd_uart_data __initconst = { | 58 | static const struct imxuart_platform_data mx53_smd_uart_data __initconst = { |