diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-02-25 14:48:50 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-02-29 11:09:10 -0500 |
commit | ded547a443723f0f29bce513356fe10f96cae315 (patch) | |
tree | da152c041b5b7a222261f6bc39da5fb8459221c7 /arch/arm/mach-ux500/Kconfig | |
parent | 67ae14fcaf1b73ffd91feff630dc5911b20d5394 (diff) |
ARM: ux500: add board autoselection
At least one platform needs to be selected, so pick the u8500
development board if nothing else is selected. The first
menu to choose the actual platform is meaningless and can be
made invisible.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/Kconfig')
-rw-r--r-- | arch/arm/mach-ux500/Kconfig | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig index 52af00446a63..34b631446dd3 100644 --- a/arch/arm/mach-ux500/Kconfig +++ b/arch/arm/mach-ux500/Kconfig | |||
@@ -9,46 +9,50 @@ config UX500_SOC_COMMON | |||
9 | select ARM_ERRATA_754322 | 9 | select ARM_ERRATA_754322 |
10 | select ARM_ERRATA_764369 | 10 | select ARM_ERRATA_764369 |
11 | 11 | ||
12 | menu "Ux500 SoC" | ||
13 | |||
14 | config UX500_SOC_DB5500 | 12 | config UX500_SOC_DB5500 |
15 | bool "DB5500" | 13 | bool |
16 | select MFD_DB5500_PRCMU | 14 | select MFD_DB5500_PRCMU |
17 | 15 | ||
18 | config UX500_SOC_DB8500 | 16 | config UX500_SOC_DB8500 |
19 | bool "DB8500" | 17 | bool |
20 | select MFD_DB8500_PRCMU | 18 | select MFD_DB8500_PRCMU |
21 | select REGULATOR_DB8500_PRCMU | 19 | select REGULATOR_DB8500_PRCMU |
22 | 20 | ||
23 | endmenu | ||
24 | |||
25 | menu "Ux500 target platform (boards)" | 21 | menu "Ux500 target platform (boards)" |
26 | 22 | ||
27 | config MACH_U8500 | 23 | config MACH_U8500 |
28 | bool "U8500 Development platform" | 24 | bool "U8500 Development platform" |
29 | depends on UX500_SOC_DB8500 | 25 | select UX500_SOC_DB8500 |
30 | select TPS6105X | 26 | select TPS6105X |
31 | help | 27 | help |
32 | Include support for the mop500 development platform. | 28 | Include support for the mop500 development platform. |
33 | 29 | ||
34 | config MACH_HREFV60 | 30 | config MACH_HREFV60 |
35 | bool "U85000 Development platform, HREFv60 version" | 31 | bool "U85000 Development platform, HREFv60 version" |
36 | depends on UX500_SOC_DB8500 | 32 | select UX500_SOC_DB8500 |
37 | help | 33 | help |
38 | Include support for the HREFv60 new development platform. | 34 | Include support for the HREFv60 new development platform. |
39 | 35 | ||
40 | config MACH_SNOWBALL | 36 | config MACH_SNOWBALL |
41 | bool "U8500 Snowball platform" | 37 | bool "U8500 Snowball platform" |
42 | depends on UX500_SOC_DB8500 | ||
43 | select MACH_U8500 | 38 | select MACH_U8500 |
44 | help | 39 | help |
45 | Include support for the snowball development platform. | 40 | Include support for the snowball development platform. |
46 | 41 | ||
47 | config MACH_U5500 | 42 | config MACH_U5500 |
48 | bool "U5500 Development platform" | 43 | bool "U5500 Development platform" |
49 | depends on UX500_SOC_DB5500 | 44 | select UX500_SOC_DB5500 |
50 | help | 45 | help |
51 | Include support for the U5500 development platform. | 46 | Include support for the U5500 development platform. |
47 | |||
48 | config UX500_AUTO_PLATFORM | ||
49 | def_bool y | ||
50 | depends on !MACH_U5500 | ||
51 | select MACH_U8500 | ||
52 | help | ||
53 | At least one platform needs to be selected in order to build | ||
54 | a working kernel. If everything else is disabled, this | ||
55 | automatically enables MACH_U8500. | ||
52 | endmenu | 56 | endmenu |
53 | 57 | ||
54 | config UX500_DEBUG_UART | 58 | config UX500_DEBUG_UART |