diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-10-29 11:02:51 -0400 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2008-01-25 02:31:42 -0500 |
commit | f4c41b2689eec03bd4f8145a08903862673e002b (patch) | |
tree | 73926a1ba8dab66a10323ce3359245eee846273c /arch/avr32/boards/atstk1000/Kconfig | |
parent | 438ff3f3cc33833206a48492e9d6674e4e82bed8 (diff) |
[AVR32] ATSTK1000: Move gpio-leds setup to setup.c
There may be other boards than STK1002 that want to use the leds on
STK1000. Move it to stk1000 common code to make it easier to reuse.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/boards/atstk1000/Kconfig')
-rw-r--r-- | arch/avr32/boards/atstk1000/Kconfig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/avr32/boards/atstk1000/Kconfig b/arch/avr32/boards/atstk1000/Kconfig index 718578f64069..dcf9e9e2b289 100644 --- a/arch/avr32/boards/atstk1000/Kconfig +++ b/arch/avr32/boards/atstk1000/Kconfig | |||
@@ -50,9 +50,9 @@ config BOARD_ATSTK1002_SPI1 | |||
50 | GPIO lines and accessed through the J1 jumper block. Say "y" | 50 | GPIO lines and accessed through the J1 jumper block. Say "y" |
51 | here to configure that SPI controller. | 51 | here to configure that SPI controller. |
52 | 52 | ||
53 | config BOARD_ATSTK1002_J2_LED | 53 | config BOARD_ATSTK1000_J2_LED |
54 | bool | 54 | bool |
55 | default BOARD_ATSTK1002_J2_LED8 || BOARD_ATSTK1002_J2_RGB | 55 | default BOARD_ATSTK1000_J2_LED8 || BOARD_ATSTK1000_J2_RGB |
56 | 56 | ||
57 | choice | 57 | choice |
58 | prompt "LEDs connected to J2:" | 58 | prompt "LEDs connected to J2:" |
@@ -64,12 +64,12 @@ choice | |||
64 | IDC cable. A default "heartbeat" trigger is provided, but | 64 | IDC cable. A default "heartbeat" trigger is provided, but |
65 | you can of course override this. | 65 | you can of course override this. |
66 | 66 | ||
67 | config BOARD_ATSTK1002_J2_LED8 | 67 | config BOARD_ATSTK1000_J2_LED8 |
68 | bool "LED0..LED7" | 68 | bool "LED0..LED7" |
69 | help | 69 | help |
70 | Select this if J2 is jumpered to LED0..LED7 amber leds. | 70 | Select this if J2 is jumpered to LED0..LED7 amber leds. |
71 | 71 | ||
72 | config BOARD_ATSTK1002_J2_RGB | 72 | config BOARD_ATSTK1000_J2_RGB |
73 | bool "RGB leds" | 73 | bool "RGB leds" |
74 | help | 74 | help |
75 | Select this if J2 is jumpered to the RGB leds. | 75 | Select this if J2 is jumpered to the RGB leds. |