ARM: S5PC100/S5PC110/S5PC210: Selete PLAT_S5P at each ARCH_S5P series
Subsystems (3)
PATCH v2 3/3 ARM: S5PC100/S5PC110/S5PC210: Selete PLAT_S5P at each ARCH_S5P series
From: Kyungmin Park <[email protected]>
As it's default configuration for each SoC, Move to the machine config.
--- arch/arm/Kconfig | 3 +++ arch/arm/mach-s5pc100/Kconfig | 1 - arch/arm/mach-s5pv210/Kconfig | 1 - arch/arm/mach-s5pv310/Kconfig | 1 - 4 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/Kconfig +3 -0
@@ -711,6 +711,7 @@ config ARCH_S5PC100 select HAVE_S3C2410_I2C select HAVE_S3C_RTC select HAVE_S3C2410_WATCHDOG + select PLAT_S5P help Samsung S5PC100 series based systems
@@ -725,6 +726,7 @@ config ARCH_S5PV210 select HAVE_S3C2410_I2C select HAVE_S3C_RTC select HAVE_S3C2410_WATCHDOG + select PLAT_S5P help Samsung S5PV210/S5PC110 series based systems
@@ -735,6 +737,7 @@ config ARCH_S5PV310 select GENERIC_GPIO select HAVE_CLK select GENERIC_CLOCKEVENTS + select PLAT_S5P help Samsung S5PV310 series based systems
arch/arm/mach-s5pc100/Kconfig +0 -1
@@ -9,7 +9,6 @@ if ARCH_S5PC100 config CPU_S5PC100 bool - select PLAT_S5P select S5P_EXT_INT select S3C_PL330_DMA help
arch/arm/mach-s5pv210/Kconfig +0 -1
@@ -11,7 +11,6 @@ if ARCH_S5PV210 config CPU_S5PV210 bool - select PLAT_S5P select S3C_PL330_DMA select S5P_EXT_INT help
arch/arm/mach-s5pv310/Kconfig +0 -1
@@ -11,7 +11,6 @@ if ARCH_S5PV310 config CPU_S5PV310 bool - select PLAT_S5P help Enable S5PV310 CPU support
Signature · 1 line
1.5.3.3
PATCH v2 3/3 ARM: S5PC100/S5PC110/S5PC210: Selete PLAT_S5P at each ARCH_S5P series
Quoted 70 lines · Kyungmin Park
From: Kyungmin Park <[email protected]>
As it's default configuration for each SoC, Move to the machine config.
Signed-off-by Kyungmin Park <[email protected]>--- arch/arm/Kconfig | 3 +++ arch/arm/mach-s5pc100/Kconfig | 1 - arch/arm/mach-s5pv210/Kconfig | 1 - arch/arm/mach-s5pv310/Kconfig | 1 - 4 files changed, 3 insertions(+), 3 deletions(-)arch/arm/Kconfig +3
-0@@ -711,6 +711,7 @@ config ARCH_S5PC100 select HAVE_S3C2410_I2C select HAVE_S3C_RTC select HAVE_S3C2410_WATCHDOG + select PLAT_S5P help Samsung S5PC100 series based systems@@ -725,6 +726,7 @@ config ARCH_S5PV210 select HAVE_S3C2410_I2C select HAVE_S3C_RTC select HAVE_S3C2410_WATCHDOG + select PLAT_S5P help Samsung S5PV210/S5PC110 series based systems@@ -735,6 +737,7 @@ config ARCH_S5PV310 select GENERIC_GPIO select HAVE_CLK select GENERIC_CLOCKEVENTS + select PLAT_S5P help Samsung S5PV310 series based systemsarch/arm/mach-s5pc100/Kconfig +0
-1@@ -9,7 +9,6 @@ if ARCH_S5PC100 config CPU_S5PC100 bool - select PLAT_S5P select S5P_EXT_INT select S3C_PL330_DMA helparch/arm/mach-s5pv210/Kconfig +0
-1@@ -11,7 +11,6 @@ if ARCH_S5PV210 config CPU_S5PV210 bool - select PLAT_S5P select S3C_PL330_DMA select S5P_EXT_INT helparch/arm/mach-s5pv310/Kconfig +0
-0
arch/arm/mach-s5pv310/Kconfig if ARCH_S5PV310
Quoted 8 lines
arch/arm/mach-s5pv310/Kconfig +0
-2@@ -11,7 +11,6 @@ if ARCH_S5PV310 config CPU_S5PV310 bool - select PLAT_S5P help Enable S5PV310 CPU support --
Yes, you're right.
But just removing 'select PLAT_S5P' from each CPU_S5PXXXX is enough. Because PLAT_S5P is selected if select ARCH_S5PXXXX in the plat-s5p/Kconfig
So no need to add 'select PLAT_S5P' into ARCH_S5PXXXX config.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.