Skip to content

Commit db8230d

Browse files
arndbkrzk
authored andcommitted
ARM: s5pv210: don't imply CONFIG_PLAT_SAMSUNG
The plat-samsung directory and mach-s5pv210 can be build completely independently, so split the two Kconfig symbols CONFIG_PLAT_SAMSUNG and CONFIG_ARCH_S5PV210. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Thierry Reding <thierry.reding@gmail.com> Acked-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20200806182059.2431-18-krzk@kernel.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
1 parent 423c62b commit db8230d

8 files changed

Lines changed: 9 additions & 10 deletions

File tree

‎arch/arm/Kconfig.debug‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ choice
10051005
via SCIFA4 on Renesas SH-Mobile AG5 (SH73A0).
10061006

10071007
config DEBUG_S3C_UART0
1008-
depends on PLAT_SAMSUNG || ARCH_EXYNOS
1008+
depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS
10091009
select DEBUG_EXYNOS_UART if ARCH_EXYNOS
10101010
select DEBUG_S3C24XX_UART if ARCH_S3C24XX
10111011
select DEBUG_S3C64XX_UART if ARCH_S3C64XX
@@ -1017,7 +1017,7 @@ choice
10171017
by the boot-loader before use.
10181018

10191019
config DEBUG_S3C_UART1
1020-
depends on PLAT_SAMSUNG || ARCH_EXYNOS
1020+
depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS
10211021
select DEBUG_EXYNOS_UART if ARCH_EXYNOS
10221022
select DEBUG_S3C24XX_UART if ARCH_S3C24XX
10231023
select DEBUG_S3C64XX_UART if ARCH_S3C64XX
@@ -1029,7 +1029,7 @@ choice
10291029
by the boot-loader before use.
10301030

10311031
config DEBUG_S3C_UART2
1032-
depends on PLAT_SAMSUNG || ARCH_EXYNOS
1032+
depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS
10331033
select DEBUG_EXYNOS_UART if ARCH_EXYNOS
10341034
select DEBUG_S3C24XX_UART if ARCH_S3C24XX
10351035
select DEBUG_S3C64XX_UART if ARCH_S3C64XX

‎arch/arm/Makefile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ machine-$(CONFIG_PLAT_SPEAR) += spear
234234
# by CONFIG_* macro name.
235235
plat-$(CONFIG_ARCH_OMAP) += omap
236236
plat-$(CONFIG_ARCH_S3C64XX) += samsung
237-
plat-$(CONFIG_ARCH_S5PV210) += samsung
238237
plat-$(CONFIG_PLAT_ORION) += orion
239238
plat-$(CONFIG_PLAT_PXA) += pxa
240239
plat-$(CONFIG_PLAT_S3C24XX) += samsung

‎arch/arm/plat-samsung/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
config PLAT_SAMSUNG
66
bool
7-
depends on PLAT_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210
7+
depends on PLAT_S3C24XX || ARCH_S3C64XX
88
default y
99
select GENERIC_IRQ_CHIP
1010
select NO_IOPORT_MAP

‎drivers/mmc/host/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ config MMC_SDHCI_TEGRA
289289

290290
config MMC_SDHCI_S3C
291291
tristate "SDHCI support on Samsung S3C SoC"
292-
depends on MMC_SDHCI && (PLAT_SAMSUNG || ARCH_EXYNOS)
292+
depends on MMC_SDHCI && (PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS)
293293
help
294294
This selects the Secure Digital Host Controller Interface (SDHCI)
295295
often referrered to as the HSMMC block in some of the Samsung S3C

‎drivers/pwm/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ config PWM_ROCKCHIP
410410

411411
config PWM_SAMSUNG
412412
tristate "Samsung PWM support"
413-
depends on PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST
413+
depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
414414
help
415415
Generic PWM framework driver for Samsung.
416416

‎drivers/spi/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ config SPI_S3C24XX_FIQ
680680

681681
config SPI_S3C64XX
682682
tristate "Samsung S3C64XX series type SPI"
683-
depends on (PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST)
683+
depends on (PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST)
684684
help
685685
SPI driver for Samsung S3C64XX and newer SoCs.
686686

‎drivers/tty/serial/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ config SERIAL_CLPS711X_CONSOLE
235235

236236
config SERIAL_SAMSUNG
237237
tristate "Samsung SoC serial support"
238-
depends on PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST
238+
depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
239239
select SERIAL_CORE
240240
help
241241
Support for the on-chip UARTs on the Samsung S3C24XX series CPUs,

‎sound/soc/samsung/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
menuconfig SND_SOC_SAMSUNG
33
tristate "ASoC support for Samsung"
4-
depends on PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST
4+
depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
55
depends on COMMON_CLK
66
select SND_SOC_GENERIC_DMAENGINE_PCM
77
help

0 commit comments

Comments
 (0)