ARM: mach-mx5: Fix build for mx53_loco and mx53_smd
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 25 Jan 2011 15:08:33 +0000 (13:08 -0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 1 Feb 2011 09:25:08 +0000 (10:25 +0100)
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>
arch/arm/mach-mx5/board-mx53_loco.c
arch/arm/mach-mx5/board-mx53_smd.c

index d1348e04ace387ebc2413589c5d1caebeb431682..dadc856b210c6eb36a5f73c76bfb3830c0430209 100644 (file)
 #define LOCO_FEC_PHY_RST               IMX_GPIO_NR(7, 6)
 
 static iomux_v3_cfg_t mx53_loco_pads[] = {
-       MX53_PAD_CSI0_D10__UART1_TXD,
-       MX53_PAD_CSI0_D11__UART1_RXD,
-       MX53_PAD_ATA_DIOW__UART1_TXD,
-       MX53_PAD_ATA_DMACK__UART1_RXD,
-
-       MX53_PAD_ATA_BUFFER_EN__UART2_RXD,
-       MX53_PAD_ATA_DMARQ__UART2_TXD,
-       MX53_PAD_ATA_DIOR__UART2_RTS,
-       MX53_PAD_ATA_INTRQ__UART2_CTS,
-
-       MX53_PAD_ATA_CS_0__UART3_TXD,
-       MX53_PAD_ATA_CS_1__UART3_RXD,
-       MX53_PAD_ATA_DA_1__UART3_CTS,
-       MX53_PAD_ATA_DA_2__UART3_RTS,
+       MX53_PAD_CSI0_DAT10__UART1_TXD_MUX,
+       MX53_PAD_CSI0_DAT11__UART1_RXD_MUX,
+       MX53_PAD_PATA_DIOW__UART1_TXD_MUX,
+       MX53_PAD_PATA_DMACK__UART1_RXD_MUX,
+
+       MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX,
+       MX53_PAD_PATA_DMARQ__UART2_TXD_MUX,
+       MX53_PAD_PATA_DIOR__UART2_RTS,
+       MX53_PAD_PATA_INTRQ__UART2_CTS,
+
+       MX53_PAD_PATA_CS_0__UART3_TXD_MUX,
+       MX53_PAD_PATA_CS_1__UART3_RXD_MUX,
+       MX53_PAD_PATA_DA_1__UART3_CTS,
+       MX53_PAD_PATA_DA_2__UART3_RTS,
+
 };
 
 static const struct imxuart_platform_data mx53_loco_uart_data __initconst = {
index 7970f7a48588a664eb659c59cf363dc75c893f6d..06070c5969f3df5c8b9a74f065b92024f98aa06a 100644 (file)
 #define SMD_FEC_PHY_RST                IMX_GPIO_NR(7, 6)
 
 static iomux_v3_cfg_t mx53_smd_pads[] = {
-       MX53_PAD_CSI0_D10__UART1_TXD,
-       MX53_PAD_CSI0_D11__UART1_RXD,
-       MX53_PAD_ATA_DIOW__UART1_TXD,
-       MX53_PAD_ATA_DMACK__UART1_RXD,
-
-       MX53_PAD_ATA_BUFFER_EN__UART2_RXD,
-       MX53_PAD_ATA_DMARQ__UART2_TXD,
-       MX53_PAD_ATA_DIOR__UART2_RTS,
-       MX53_PAD_ATA_INTRQ__UART2_CTS,
-
-       MX53_PAD_ATA_CS_0__UART3_TXD,
-       MX53_PAD_ATA_CS_1__UART3_RXD,
-       MX53_PAD_ATA_DA_1__UART3_CTS,
-       MX53_PAD_ATA_DA_2__UART3_RTS,
+       MX53_PAD_CSI0_DAT10__UART1_TXD_MUX,
+       MX53_PAD_CSI0_DAT11__UART1_RXD_MUX,
+       MX53_PAD_PATA_DIOW__UART1_TXD_MUX,
+       MX53_PAD_PATA_DMACK__UART1_RXD_MUX,
+
+       MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX,
+       MX53_PAD_PATA_DMARQ__UART2_TXD_MUX,
+       MX53_PAD_PATA_DIOR__UART2_RTS,
+       MX53_PAD_PATA_INTRQ__UART2_CTS,
+
+       MX53_PAD_PATA_CS_0__UART3_TXD_MUX,
+       MX53_PAD_PATA_CS_1__UART3_RXD_MUX,
+       MX53_PAD_PATA_DA_1__UART3_CTS,
+       MX53_PAD_PATA_DA_2__UART3_RTS,
 };
 
 static const struct imxuart_platform_data mx53_smd_uart_data __initconst = {