diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2010-01-03 22:25:10 -0500 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-03-01 18:40:46 -0500 |
commit | 07bae6c3215e060d5e3742b6f2932de0787f0782 (patch) | |
tree | 14da3baae784f58f6116acd16361ff15dc499b8b /arch/arm/mach-pxa/lubbock.c | |
parent | 669cb51c6abf77e10cbeb6f483c96abc492206ac (diff) |
[ARM] pxa: simplify the LCD pin configuration for pxa25x platforms
There are only limited possible LCD pin configurations for pxa25x
platforms, simplify this by macro.
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/lubbock.c')
-rw-r--r-- | arch/arm/mach-pxa/lubbock.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/arch/arm/mach-pxa/lubbock.c b/arch/arm/mach-pxa/lubbock.c index d9982b16f8c0..56ae54ef44f3 100644 --- a/arch/arm/mach-pxa/lubbock.c +++ b/arch/arm/mach-pxa/lubbock.c | |||
@@ -67,25 +67,7 @@ static unsigned long lubbock_pin_config[] __initdata = { | |||
67 | GPIO26_SSP1_RXD, | 67 | GPIO26_SSP1_RXD, |
68 | 68 | ||
69 | /* LCD - 16bpp DSTN */ | 69 | /* LCD - 16bpp DSTN */ |
70 | GPIO58_LCD_LDD_0, | 70 | GPIOxx_LCD_DSTN_16BPP, |
71 | GPIO59_LCD_LDD_1, | ||
72 | GPIO60_LCD_LDD_2, | ||
73 | GPIO61_LCD_LDD_3, | ||
74 | GPIO62_LCD_LDD_4, | ||
75 | GPIO63_LCD_LDD_5, | ||
76 | GPIO64_LCD_LDD_6, | ||
77 | GPIO65_LCD_LDD_7, | ||
78 | GPIO66_LCD_LDD_8, | ||
79 | GPIO67_LCD_LDD_9, | ||
80 | GPIO68_LCD_LDD_10, | ||
81 | GPIO69_LCD_LDD_11, | ||
82 | GPIO70_LCD_LDD_12, | ||
83 | GPIO71_LCD_LDD_13, | ||
84 | GPIO72_LCD_LDD_14, | ||
85 | GPIO73_LCD_LDD_15, | ||
86 | GPIO74_LCD_FCLK, | ||
87 | GPIO75_LCD_LCLK, | ||
88 | GPIO76_LCD_PCLK, | ||
89 | 71 | ||
90 | /* BTUART */ | 72 | /* BTUART */ |
91 | GPIO42_BTUART_RXD, | 73 | GPIO42_BTUART_RXD, |