aboutsummaryrefslogtreecommitdiff
path: root/arch/avr32/boards/atstk1000/Kconfig
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-10-29 16:24:09 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2008-01-25 08:31:42 +0100
commit64d81052671bc2e66efd46251883f5e8e3043db9 (patch)
tree7a72e66dddc5174aa4b30a7112aa5e33f0f4d02d /arch/avr32/boards/atstk1000/Kconfig
parentf4c41b2689eec03bd4f8145a08903862673e002b (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/Kconfig5
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
endchoice
+config BOARD_ATSTK1000_EXTDAC
+ bool
+ depends on !BOARD_ATSTK1002_SW1_CUSTOM && !BOARD_ATSTK1002_SW3_CUSTOM
+ default y
+
endif # stk 1002