Skip to content

Commit eed6b3e

Browse files
committed
arm64: Split out platform options to separate Kconfig
Let's move out the platform Kconfig entries to a separate file, since these changes usually get moved through arm-soc instead of the arm64 arch tree, and this will lead to fewer conflicts Signed-off-by: Olof Johansson <[email protected]> Acked-by: Will Deacon <[email protected]> Acked-by: Catalin Marinas <[email protected]>
1 parent fe467ad commit eed6b3e

File tree

2 files changed

+105
-104
lines changed

2 files changed

+105
-104
lines changed

arch/arm64/Kconfig

Lines changed: 1 addition & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -160,110 +160,7 @@ source "init/Kconfig"
160160

161161
source "kernel/Kconfig.freezer"
162162

163-
menu "Platform selection"
164-
165-
config ARCH_EXYNOS
166-
bool
167-
help
168-
This enables support for Samsung Exynos SoC family
169-
170-
config ARCH_EXYNOS7
171-
bool "ARMv8 based Samsung Exynos7"
172-
select ARCH_EXYNOS
173-
select COMMON_CLK_SAMSUNG
174-
select HAVE_S3C2410_WATCHDOG if WATCHDOG
175-
select HAVE_S3C_RTC if RTC_CLASS
176-
select PINCTRL
177-
select PINCTRL_EXYNOS
178-
179-
help
180-
This enables support for Samsung Exynos7 SoC family
181-
182-
config ARCH_FSL_LS2085A
183-
bool "Freescale LS2085A SOC"
184-
help
185-
This enables support for Freescale LS2085A SOC.
186-
187-
config ARCH_HISI
188-
bool "Hisilicon SoC Family"
189-
help
190-
This enables support for Hisilicon ARMv8 SoC family
191-
192-
config ARCH_MEDIATEK
193-
bool "Mediatek MT65xx & MT81xx ARMv8 SoC"
194-
select ARM_GIC
195-
select PINCTRL
196-
help
197-
Support for Mediatek MT65xx & MT81xx ARMv8 SoCs
198-
199-
config ARCH_QCOM
200-
bool "Qualcomm Platforms"
201-
select PINCTRL
202-
help
203-
This enables support for the ARMv8 based Qualcomm chipsets.
204-
205-
config ARCH_SEATTLE
206-
bool "AMD Seattle SoC Family"
207-
help
208-
This enables support for AMD Seattle SOC Family
209-
210-
config ARCH_TEGRA
211-
bool "NVIDIA Tegra SoC Family"
212-
select ARCH_HAS_RESET_CONTROLLER
213-
select ARCH_REQUIRE_GPIOLIB
214-
select CLKDEV_LOOKUP
215-
select CLKSRC_MMIO
216-
select CLKSRC_OF
217-
select GENERIC_CLOCKEVENTS
218-
select HAVE_CLK
219-
select PINCTRL
220-
select RESET_CONTROLLER
221-
help
222-
This enables support for the NVIDIA Tegra SoC family.
223-
224-
config ARCH_TEGRA_132_SOC
225-
bool "NVIDIA Tegra132 SoC"
226-
depends on ARCH_TEGRA
227-
select PINCTRL_TEGRA124
228-
select USB_ULPI if USB_PHY
229-
select USB_ULPI_VIEWPORT if USB_PHY
230-
help
231-
Enable support for NVIDIA Tegra132 SoC, based on the Denver
232-
ARMv8 CPU. The Tegra132 SoC is similar to the Tegra124 SoC,
233-
but contains an NVIDIA Denver CPU complex in place of
234-
Tegra124's "4+1" Cortex-A15 CPU complex.
235-
236-
config ARCH_SPRD
237-
bool "Spreadtrum SoC platform"
238-
help
239-
Support for Spreadtrum ARM based SoCs
240-
241-
config ARCH_THUNDER
242-
bool "Cavium Inc. Thunder SoC Family"
243-
help
244-
This enables support for Cavium's Thunder Family of SoCs.
245-
246-
config ARCH_VEXPRESS
247-
bool "ARMv8 software model (Versatile Express)"
248-
select ARCH_REQUIRE_GPIOLIB
249-
select COMMON_CLK_VERSATILE
250-
select POWER_RESET_VEXPRESS
251-
select VEXPRESS_CONFIG
252-
help
253-
This enables support for the ARMv8 software model (Versatile
254-
Express).
255-
256-
config ARCH_XGENE
257-
bool "AppliedMicro X-Gene SOC Family"
258-
help
259-
This enables support for AppliedMicro X-Gene SOC Family
260-
261-
config ARCH_ZYNQMP
262-
bool "Xilinx ZynqMP Family"
263-
help
264-
This enables support for Xilinx ZynqMP Family
265-
266-
endmenu
163+
source "Kconfig.platforms"
267164

268165
menu "Bus support"
269166

arch/arm64/Kconfig.platforms

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
menu "Platform selection"
2+
3+
config ARCH_EXYNOS
4+
bool
5+
help
6+
This enables support for Samsung Exynos SoC family
7+
8+
config ARCH_EXYNOS7
9+
bool "ARMv8 based Samsung Exynos7"
10+
select ARCH_EXYNOS
11+
select COMMON_CLK_SAMSUNG
12+
select HAVE_S3C2410_WATCHDOG if WATCHDOG
13+
select HAVE_S3C_RTC if RTC_CLASS
14+
select PINCTRL
15+
select PINCTRL_EXYNOS
16+
17+
help
18+
This enables support for Samsung Exynos7 SoC family
19+
20+
config ARCH_FSL_LS2085A
21+
bool "Freescale LS2085A SOC"
22+
help
23+
This enables support for Freescale LS2085A SOC.
24+
25+
config ARCH_HISI
26+
bool "Hisilicon SoC Family"
27+
help
28+
This enables support for Hisilicon ARMv8 SoC family
29+
30+
config ARCH_MEDIATEK
31+
bool "Mediatek MT65xx & MT81xx ARMv8 SoC"
32+
select ARM_GIC
33+
select PINCTRL
34+
help
35+
Support for Mediatek MT65xx & MT81xx ARMv8 SoCs
36+
37+
config ARCH_QCOM
38+
bool "Qualcomm Platforms"
39+
select PINCTRL
40+
help
41+
This enables support for the ARMv8 based Qualcomm chipsets.
42+
43+
config ARCH_SEATTLE
44+
bool "AMD Seattle SoC Family"
45+
help
46+
This enables support for AMD Seattle SOC Family
47+
48+
config ARCH_TEGRA
49+
bool "NVIDIA Tegra SoC Family"
50+
select ARCH_HAS_RESET_CONTROLLER
51+
select ARCH_REQUIRE_GPIOLIB
52+
select CLKDEV_LOOKUP
53+
select CLKSRC_MMIO
54+
select CLKSRC_OF
55+
select GENERIC_CLOCKEVENTS
56+
select HAVE_CLK
57+
select PINCTRL
58+
select RESET_CONTROLLER
59+
help
60+
This enables support for the NVIDIA Tegra SoC family.
61+
62+
config ARCH_TEGRA_132_SOC
63+
bool "NVIDIA Tegra132 SoC"
64+
depends on ARCH_TEGRA
65+
select PINCTRL_TEGRA124
66+
select USB_ULPI if USB_PHY
67+
select USB_ULPI_VIEWPORT if USB_PHY
68+
help
69+
Enable support for NVIDIA Tegra132 SoC, based on the Denver
70+
ARMv8 CPU. The Tegra132 SoC is similar to the Tegra124 SoC,
71+
but contains an NVIDIA Denver CPU complex in place of
72+
Tegra124's "4+1" Cortex-A15 CPU complex.
73+
74+
config ARCH_SPRD
75+
bool "Spreadtrum SoC platform"
76+
help
77+
Support for Spreadtrum ARM based SoCs
78+
79+
config ARCH_THUNDER
80+
bool "Cavium Inc. Thunder SoC Family"
81+
help
82+
This enables support for Cavium's Thunder Family of SoCs.
83+
84+
config ARCH_VEXPRESS
85+
bool "ARMv8 software model (Versatile Express)"
86+
select ARCH_REQUIRE_GPIOLIB
87+
select COMMON_CLK_VERSATILE
88+
select POWER_RESET_VEXPRESS
89+
select VEXPRESS_CONFIG
90+
help
91+
This enables support for the ARMv8 software model (Versatile
92+
Express).
93+
94+
config ARCH_XGENE
95+
bool "AppliedMicro X-Gene SOC Family"
96+
help
97+
This enables support for AppliedMicro X-Gene SOC Family
98+
99+
config ARCH_ZYNQMP
100+
bool "Xilinx ZynqMP Family"
101+
help
102+
This enables support for Xilinx ZynqMP Family
103+
104+
endmenu

0 commit comments

Comments
 (0)