diff options
author | Hans-Christian Egtvedt <hcegtvedt@atmel.com> | 2008-02-05 09:27:16 -0500 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-06-27 09:32:27 -0400 |
commit | 47882cf620bcd7b014f6f7fc11be8c045787adac (patch) | |
tree | f1f91b9b675e917aba5aa3701c5509567c7c914c /arch/avr32/boards | |
parent | aafafddb01e259cff61b3d3f5b3466f0a6a65b84 (diff) |
avr32: Add pin configuration choice to LCDC peripheral
This patch lets the board code choose which pin out to use for the LCD
interface.
On AT32AP7000 the LCDC is wired to two sets of pins, which lets the user
choose between dual ethernet and 32-bit EBI. For the ATNGW100 board it
is vital to have the choice to select the alternative pinout since this
pinout is routed to the external headers.
Update ATSTK1002 and ATSTK1004 to use the new interface.
Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/boards')
-rw-r--r-- | arch/avr32/boards/atstk1000/atstk1002.c | 2 | ||||
-rw-r--r-- | arch/avr32/boards/atstk1000/atstk1004.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/avr32/boards/atstk1000/atstk1002.c b/arch/avr32/boards/atstk1000/atstk1002.c index 0e1332686867..86b363c1c25b 100644 --- a/arch/avr32/boards/atstk1000/atstk1002.c +++ b/arch/avr32/boards/atstk1000/atstk1002.c | |||
@@ -238,7 +238,7 @@ static int __init atstk1002_init(void) | |||
238 | set_hw_addr(at32_add_device_eth(1, ð_data[1])); | 238 | set_hw_addr(at32_add_device_eth(1, ð_data[1])); |
239 | #else | 239 | #else |
240 | at32_add_device_lcdc(0, &atstk1000_lcdc_data, | 240 | at32_add_device_lcdc(0, &atstk1000_lcdc_data, |
241 | fbmem_start, fbmem_size); | 241 | fbmem_start, fbmem_size, 0); |
242 | #endif | 242 | #endif |
243 | at32_add_device_usba(0, NULL); | 243 | at32_add_device_usba(0, NULL); |
244 | #ifndef CONFIG_BOARD_ATSTK100X_SW3_CUSTOM | 244 | #ifndef CONFIG_BOARD_ATSTK100X_SW3_CUSTOM |
diff --git a/arch/avr32/boards/atstk1000/atstk1004.c b/arch/avr32/boards/atstk1000/atstk1004.c index cbf09dd0db53..c7236df74d74 100644 --- a/arch/avr32/boards/atstk1000/atstk1004.c +++ b/arch/avr32/boards/atstk1000/atstk1004.c | |||
@@ -140,7 +140,7 @@ static int __init atstk1004_init(void) | |||
140 | at32_add_device_mci(0); | 140 | at32_add_device_mci(0); |
141 | #endif | 141 | #endif |
142 | at32_add_device_lcdc(0, &atstk1000_lcdc_data, | 142 | at32_add_device_lcdc(0, &atstk1000_lcdc_data, |
143 | fbmem_start, fbmem_size); | 143 | fbmem_start, fbmem_size, 0); |
144 | at32_add_device_usba(0, NULL); | 144 | at32_add_device_usba(0, NULL); |
145 | #ifndef CONFIG_BOARD_ATSTK100X_SW3_CUSTOM | 145 | #ifndef CONFIG_BOARD_ATSTK100X_SW3_CUSTOM |
146 | at32_add_device_ssc(0, ATMEL_SSC_TX); | 146 | at32_add_device_ssc(0, ATMEL_SSC_TX); |