diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-10-29 11:24:09 -0400 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2008-01-25 02:31:42 -0500 |
commit | 64d81052671bc2e66efd46251883f5e8e3043db9 (patch) | |
tree | 7a72e66dddc5174aa4b30a7112aa5e33f0f4d02d /arch/avr32/boards/atstk1000/Kconfig | |
parent | f4c41b2689eec03bd4f8145a08903862673e002b (diff) |
[AVR32] Clean up external DAC setup code
Reduce the ridiculous amount of #ifdef clutter in atstk1002.c a bit by
moving all the extdac stuff into its own function and providing an
empty stub for the case when it isn't wanted.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/boards/atstk1000/Kconfig')
-rw-r--r-- | arch/avr32/boards/atstk1000/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/avr32/boards/atstk1000/Kconfig b/arch/avr32/boards/atstk1000/Kconfig index dcf9e9e2b28..23e8c84f023 100644 --- a/arch/avr32/boards/atstk1000/Kconfig +++ b/arch/avr32/boards/atstk1000/Kconfig | |||
@@ -76,4 +76,9 @@ config BOARD_ATSTK1000_J2_RGB | |||
76 | 76 | ||
77 | endchoice | 77 | endchoice |
78 | 78 | ||
79 | config BOARD_ATSTK1000_EXTDAC | ||
80 | bool | ||
81 | depends on !BOARD_ATSTK1002_SW1_CUSTOM && !BOARD_ATSTK1002_SW3_CUSTOM | ||
82 | default y | ||
83 | |||
79 | endif # stk 1002 | 84 | endif # stk 1002 |