diff options
author | Lothar Waßmann <LW@KARO-electronics.de> | 2010-10-26 08:28:31 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-11-24 03:56:58 -0500 |
commit | 8f5260c8c1a1f9b25dfedd5ca749e4faef1b3eb9 (patch) | |
tree | 56f3a67b1cf74a670c026ab14cc872cf3accccb8 /arch/arm/mach-mx5/board-cpuimx51sd.c | |
parent | 2a85927c79634e89b9cd683dd2bae65966d9b216 (diff) |
ARM: i.MX IOMUX-V3 replace struct pad_desc with bitmapped cookie
The following patch is a first step to convert the 'struct pad_desc'
to a bitmapped cookie to facilitate adding platform specific pullup or
drive strength definitions to existing pad definitions without need to
rewrite the complete pad def.
The patch wraps 'struct pad_desc' in an opaque data type and
introduces macros to access the individual members.
This patch does not constitute any functional change!
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/board-cpuimx51sd.c')
-rw-r--r-- | arch/arm/mach-mx5/board-cpuimx51sd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx5/board-cpuimx51sd.c b/arch/arm/mach-mx5/board-cpuimx51sd.c index 4b3a6119c5fb..e6807e36e436 100644 --- a/arch/arm/mach-mx5/board-cpuimx51sd.c +++ b/arch/arm/mach-mx5/board-cpuimx51sd.c | |||
@@ -68,7 +68,7 @@ | |||
68 | #define CPUIMX51SD_GPIO_3_12 IOMUX_PAD(0x57C, 0x194, 3, 0x0, 0, \ | 68 | #define CPUIMX51SD_GPIO_3_12 IOMUX_PAD(0x57C, 0x194, 3, 0x0, 0, \ |
69 | MX51_PAD_CTRL_1 | PAD_CTL_PUS_22K_UP) | 69 | MX51_PAD_CTRL_1 | PAD_CTL_PUS_22K_UP) |
70 | 70 | ||
71 | static struct pad_desc eukrea_cpuimx51sd_pads[] = { | 71 | static iomux_v3_cfg_t eukrea_cpuimx51sd_pads[] = { |
72 | /* UART1 */ | 72 | /* UART1 */ |
73 | MX51_PAD_UART1_RXD__UART1_RXD, | 73 | MX51_PAD_UART1_RXD__UART1_RXD, |
74 | MX51_PAD_UART1_TXD__UART1_TXD, | 74 | MX51_PAD_UART1_TXD__UART1_TXD, |