diff options
Diffstat (limited to 'arch/avr32/boards/atstk1000/Kconfig')
-rw-r--r-- | arch/avr32/boards/atstk1000/Kconfig | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/arch/avr32/boards/atstk1000/Kconfig b/arch/avr32/boards/atstk1000/Kconfig index 23e8c84f0237..28c47802a560 100644 --- a/arch/avr32/boards/atstk1000/Kconfig +++ b/arch/avr32/boards/atstk1000/Kconfig | |||
@@ -1,34 +1,34 @@ | |||
1 | # STK1000 customization | 1 | # STK1000 customization |
2 | 2 | ||
3 | if BOARD_ATSTK1002 | 3 | if BOARD_ATSTK1000 |
4 | 4 | ||
5 | config BOARD_ATSTK1002_CUSTOM | 5 | config BOARD_ATSTK100X_CUSTOM |
6 | bool "Non-default STK-1002 jumper settings" | 6 | bool "Non-default STK1002/STK1003/STK1004 jumper settings" |
7 | help | 7 | help |
8 | You will normally leave the jumpers on the CPU card at their | 8 | You will normally leave the jumpers on the CPU card at their |
9 | default settings. If you need to use certain peripherals, | 9 | default settings. If you need to use certain peripherals, |
10 | you will need to change some of those jumpers. | 10 | you will need to change some of those jumpers. |
11 | 11 | ||
12 | if BOARD_ATSTK1002_CUSTOM | 12 | if BOARD_ATSTK100X_CUSTOM |
13 | 13 | ||
14 | config BOARD_ATSTK1002_SW1_CUSTOM | 14 | config BOARD_ATSTK100X_SW1_CUSTOM |
15 | bool "SW1: use SSC1 (not SPI0)" | 15 | bool "SW1: use SSC1 (not SPI0)" |
16 | help | 16 | help |
17 | This also prevents using the external DAC as an audio interface, | 17 | This also prevents using the external DAC as an audio interface, |
18 | and means you can't initialize the on-board QVGA display. | 18 | and means you can't initialize the on-board QVGA display. |
19 | 19 | ||
20 | config BOARD_ATSTK1002_SW2_CUSTOM | 20 | config BOARD_ATSTK100X_SW2_CUSTOM |
21 | bool "SW2: use IRDA or TIMER0 (not UART-A, MMC/SD, and PS2-A)" | 21 | bool "SW2: use IRDA or TIMER0 (not UART-A, MMC/SD, and PS2-A)" |
22 | help | 22 | help |
23 | If you change this you'll want an updated boot loader putting | 23 | If you change this you'll want an updated boot loader putting |
24 | the console on UART-C not UART-A. | 24 | the console on UART-C not UART-A. |
25 | 25 | ||
26 | config BOARD_ATSTK1002_SW3_CUSTOM | 26 | config BOARD_ATSTK100X_SW3_CUSTOM |
27 | bool "SW3: use TIMER1 (not SSC0 and GCLK)" | 27 | bool "SW3: use TIMER1 (not SSC0 and GCLK)" |
28 | help | 28 | help |
29 | This also prevents using the external DAC as an audio interface. | 29 | This also prevents using the external DAC as an audio interface. |
30 | 30 | ||
31 | config BOARD_ATSTK1002_SW4_CUSTOM | 31 | config BOARD_ATSTK100X_SW4_CUSTOM |
32 | bool "SW4: use ISI/Camera (not GPIOs, SPI1, and PS2-B)" | 32 | bool "SW4: use ISI/Camera (not GPIOs, SPI1, and PS2-B)" |
33 | help | 33 | help |
34 | To use the camera interface you'll need a custom card (on the | 34 | To use the camera interface you'll need a custom card (on the |
@@ -36,15 +36,17 @@ config BOARD_ATSTK1002_SW4_CUSTOM | |||
36 | 36 | ||
37 | config BOARD_ATSTK1002_SW5_CUSTOM | 37 | config BOARD_ATSTK1002_SW5_CUSTOM |
38 | bool "SW5: use MACB1 (not LCDC)" | 38 | bool "SW5: use MACB1 (not LCDC)" |
39 | depends on BOARD_ATSTK1002 | ||
39 | 40 | ||
40 | config BOARD_ATSTK1002_SW6_CUSTOM | 41 | config BOARD_ATSTK1002_SW6_CUSTOM |
41 | bool "SW6: more GPIOs (not MACB0)" | 42 | bool "SW6: more GPIOs (not MACB0)" |
43 | depends on BOARD_ATSTK1002 | ||
42 | 44 | ||
43 | endif # custom | 45 | endif # custom |
44 | 46 | ||
45 | config BOARD_ATSTK1002_SPI1 | 47 | config BOARD_ATSTK100X_SPI1 |
46 | bool "Configure SPI1 controller" | 48 | bool "Configure SPI1 controller" |
47 | depends on !BOARD_ATSTK1002_SW4_CUSTOM | 49 | depends on !BOARD_ATSTK100X_SW4_CUSTOM |
48 | help | 50 | help |
49 | All the signals for the second SPI controller are available on | 51 | All the signals for the second SPI controller are available on |
50 | GPIO lines and accessed through the J1 jumper block. Say "y" | 52 | GPIO lines and accessed through the J1 jumper block. Say "y" |
@@ -56,7 +58,7 @@ config BOARD_ATSTK1000_J2_LED | |||
56 | 58 | ||
57 | choice | 59 | choice |
58 | prompt "LEDs connected to J2:" | 60 | prompt "LEDs connected to J2:" |
59 | depends on LEDS_GPIO && !BOARD_ATSTK1002_SW4_CUSTOM | 61 | depends on LEDS_GPIO && !BOARD_ATSTK100X_SW4_CUSTOM |
60 | optional | 62 | optional |
61 | help | 63 | help |
62 | Select this if you have jumpered the J2 jumper block to the | 64 | Select this if you have jumpered the J2 jumper block to the |
@@ -78,7 +80,7 @@ endchoice | |||
78 | 80 | ||
79 | config BOARD_ATSTK1000_EXTDAC | 81 | config BOARD_ATSTK1000_EXTDAC |
80 | bool | 82 | bool |
81 | depends on !BOARD_ATSTK1002_SW1_CUSTOM && !BOARD_ATSTK1002_SW3_CUSTOM | 83 | depends on !BOARD_ATSTK100X_SW1_CUSTOM && !BOARD_ATSTK100X_SW3_CUSTOM |
82 | default y | 84 | default y |
83 | 85 | ||
84 | endif # stk 1002 | 86 | endif # stk 1000 |