diff options
author | Scott Branden <sbranden@broadcom.com> | 2014-10-22 12:52:13 -0400 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2014-11-12 01:35:45 -0500 |
commit | 64e74aa788f996cd0e328a1c4223e9d438b78e9c (patch) | |
tree | 12fdf97b257d863f630977e920a03ff4b403d94f | |
parent | d318987ecd0b26318857172c9624b059a01c9451 (diff) |
ARM: mach-bcm: ARCH_BCM_MOBILE: remove one level of menu from Kconfig
remove menu "Broadcom Mobile SoC Selection"
This requires:
- selecting ARCH_BCM_MOBILE based on SoC selections
- fixup bcm_defconfig and multi_v7_defconfig to work with new menu levels.
Signed-off-by: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
-rw-r--r-- | arch/arm/mach-bcm/Kconfig | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig index 6e796961faf1..cceb69fea9c4 100644 --- a/arch/arm/mach-bcm/Kconfig +++ b/arch/arm/mach-bcm/Kconfig | |||
@@ -51,8 +51,10 @@ config ARCH_BCM_5301X | |||
51 | different SoC or with the older BCM47XX and BCM53XX based | 51 | different SoC or with the older BCM47XX and BCM53XX based |
52 | network SoC using a MIPS CPU, they are supported by arch/mips/bcm47xx | 52 | network SoC using a MIPS CPU, they are supported by arch/mips/bcm47xx |
53 | 53 | ||
54 | comment "KONA architected SoCs" | ||
55 | |||
54 | config ARCH_BCM_MOBILE | 56 | config ARCH_BCM_MOBILE |
55 | bool "Broadcom Mobile SoC Support" if ARCH_MULTI_V7 | 57 | bool |
56 | select ARCH_REQUIRE_GPIOLIB | 58 | select ARCH_REQUIRE_GPIOLIB |
57 | select ARM_ERRATA_754322 | 59 | select ARM_ERRATA_754322 |
58 | select ARM_ERRATA_775420 | 60 | select ARM_ERRATA_775420 |
@@ -61,16 +63,13 @@ config ARCH_BCM_MOBILE | |||
61 | select TICK_ONESHOT | 63 | select TICK_ONESHOT |
62 | select HAVE_ARM_ARCH_TIMER | 64 | select HAVE_ARM_ARCH_TIMER |
63 | select PINCTRL | 65 | select PINCTRL |
66 | select ARCH_BCM_MOBILE_SMP if SMP | ||
64 | help | 67 | help |
65 | This enables support for systems based on Broadcom mobile SoCs. | 68 | This enables support for systems based on Broadcom mobile SoCs. |
66 | 69 | ||
67 | if ARCH_BCM_MOBILE | ||
68 | |||
69 | menu "Broadcom Mobile SoC Selection" | ||
70 | |||
71 | config ARCH_BCM_281XX | 70 | config ARCH_BCM_281XX |
72 | bool "Broadcom BCM281XX SoC family" | 71 | bool "Broadcom BCM281XX SoC family" |
73 | default y | 72 | select ARCH_BCM_MOBILE |
74 | select HAVE_SMP | 73 | select HAVE_SMP |
75 | help | 74 | help |
76 | Enable support for the BCM281XX family, which includes | 75 | Enable support for the BCM281XX family, which includes |
@@ -79,7 +78,7 @@ config ARCH_BCM_281XX | |||
79 | 78 | ||
80 | config ARCH_BCM_21664 | 79 | config ARCH_BCM_21664 |
81 | bool "Broadcom BCM21664 SoC family" | 80 | bool "Broadcom BCM21664 SoC family" |
82 | default y | 81 | select ARCH_BCM_MOBILE |
83 | select HAVE_SMP | 82 | select HAVE_SMP |
84 | help | 83 | help |
85 | Enable support for the BCM21664 family, which includes | 84 | Enable support for the BCM21664 family, which includes |
@@ -87,19 +86,18 @@ config ARCH_BCM_21664 | |||
87 | 86 | ||
88 | config ARCH_BCM_MOBILE_L2_CACHE | 87 | config ARCH_BCM_MOBILE_L2_CACHE |
89 | bool "Broadcom mobile SoC level 2 cache support" | 88 | bool "Broadcom mobile SoC level 2 cache support" |
90 | depends on (ARCH_BCM_281XX || ARCH_BCM_21664) | 89 | depends on ARCH_BCM_MOBILE |
91 | default y | 90 | default y |
92 | select CACHE_L2X0 | 91 | select CACHE_L2X0 |
93 | select ARCH_BCM_MOBILE_SMC | 92 | select ARCH_BCM_MOBILE_SMC |
94 | 93 | ||
95 | config ARCH_BCM_MOBILE_SMC | 94 | config ARCH_BCM_MOBILE_SMC |
96 | bool | 95 | bool |
97 | depends on ARCH_BCM_281XX || ARCH_BCM_21664 | 96 | depends on ARCH_BCM_MOBILE |
98 | 97 | ||
99 | config ARCH_BCM_MOBILE_SMP | 98 | config ARCH_BCM_MOBILE_SMP |
100 | bool "Broadcom mobile SoC SMP support" | 99 | bool |
101 | depends on (ARCH_BCM_281XX || ARCH_BCM_21664) && SMP | 100 | depends on ARCH_BCM_MOBILE |
102 | default y | ||
103 | select HAVE_ARM_SCU | 101 | select HAVE_ARM_SCU |
104 | select ARM_ERRATA_764369 | 102 | select ARM_ERRATA_764369 |
105 | help | 103 | help |
@@ -107,10 +105,6 @@ config ARCH_BCM_MOBILE_SMP | |||
107 | Provided as an option so SMP support for SoCs of this type | 105 | Provided as an option so SMP support for SoCs of this type |
108 | can be disabled for an SMP-enabled kernel. | 106 | can be disabled for an SMP-enabled kernel. |
109 | 107 | ||
110 | endmenu | ||
111 | |||
112 | endif | ||
113 | |||
114 | comment "Other Architectures" | 108 | comment "Other Architectures" |
115 | 109 | ||
116 | config ARCH_BCM2835 | 110 | config ARCH_BCM2835 |