Skip to contentSkip to conversation

ARM: S5PC110: Place the common SPARSEMEM at ARCH_S5PV210

PATCH New Kyungmin Park 2 participants 2 messages Sep 29, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/3 ARM: S5PC110: Place the common SPARSEMEM at ARCH_S5PV210

From: Kyungmin Park <[email protected]>

In case of s5pc110 CPU. It uses the SPARSEMEM as default memory configuration. So move to ARCH_S5PV210 config.

---
 arch/arm/Kconfig              |    1 +
 arch/arm/mach-s5pv210/Kconfig |    4 ----
 2 files changed, 1 insertions(+), 4 deletions(-)
arch/arm/Kconfig +1 -0
index 553b7cf..e112987 100644
@@ -717,6 +717,7 @@ config ARCH_S5PC100
 config ARCH_S5PV210
 	bool "Samsung S5PV210/S5PC110"
 	select CPU_V7
+	select ARCH_SPARSEMEM_ENABLE
 	select GENERIC_GPIO
 	select HAVE_CLK
 	select ARM_L1_CACHE_SHIFT_6
arch/arm/mach-s5pv210/Kconfig +0 -4
index d3a3895..97e4f11 100644
@@ -63,7 +63,6 @@ menu "S5PC110 Machines"
 config MACH_AQUILA
 	bool "Aquila"
 	select CPU_S5PV210
-	select ARCH_SPARSEMEM_ENABLE
 	select S3C_DEV_FB
 	select S5P_DEV_FIMC0
 	select S5P_DEV_FIMC1
@@ -80,7 +79,6 @@ config MACH_AQUILA
 config MACH_GONI
 	bool "GONI"
 	select CPU_S5PV210
-	select ARCH_SPARSEMEM_ENABLE
 	select S3C_DEV_FB
 	select S5P_DEV_FIMC0
 	select S5P_DEV_FIMC1
@@ -98,7 +96,6 @@ config MACH_GONI
 config MACH_SMDKC110
 	bool "SMDKC110"
 	select CPU_S5PV210
-	select ARCH_SPARSEMEM_ENABLE
 	select S3C_DEV_I2C1
 	select S3C_DEV_I2C2
 	select S3C_DEV_RTC
@@ -118,7 +115,6 @@ menu "S5PV210 Machines"
 config MACH_SMDKV210
 	bool "SMDKV210"
 	select CPU_S5PV210
-	select ARCH_SPARSEMEM_ENABLE
 	select S3C_DEV_HSMMC
 	select S3C_DEV_HSMMC1
 	select S3C_DEV_HSMMC2
Signature · 1 line
1.5.3.3
#1 lore raw

PATCH v2 1/3 ARM: S5PC110: Place the common SPARSEMEM at ARCH_S5PV210

Quoted 54 lines · Kyungmin Park

From: Kyungmin Park <[email protected]>

In case of s5pc110 CPU. It uses the SPARSEMEM as default memory configuration.
So move to ARCH_S5PV210 config.

---
 arch/arm/Kconfig              |    1 +
 arch/arm/mach-s5pv210/Kconfig |    4 ----
 2 files changed, 1 insertions(+), 4 deletions(-)
arch/arm/Kconfig +1 -0
index 553b7cf..e112987 100644
@@ -717,6 +717,7 @@ config ARCH_S5PC100
 config ARCH_S5PV210
 	bool "Samsung S5PV210/S5PC110"
 	select CPU_V7
+	select ARCH_SPARSEMEM_ENABLE
 	select GENERIC_GPIO
 	select HAVE_CLK
 	select ARM_L1_CACHE_SHIFT_6
arch/arm/mach-s5pv210/Kconfig +0 -3
index d3a3895..97e4f11 100644
@@ -63,7 +63,6 @@ menu "S5PC110 Machines"
 config MACH_AQUILA
 	bool "Aquila"
 	select CPU_S5PV210
-	select ARCH_SPARSEMEM_ENABLE
 	select S3C_DEV_FB
 	select S5P_DEV_FIMC0
 	select S5P_DEV_FIMC1
@@ -80,7 +79,6 @@ config MACH_AQUILA
 config MACH_GONI
 	bool "GONI"
 	select CPU_S5PV210
-	select ARCH_SPARSEMEM_ENABLE
 	select S3C_DEV_FB
 	select S5P_DEV_FIMC0
 	select S5P_DEV_FIMC1
@@ -98,7 +96,6 @@ config MACH_GONI
 config MACH_SMDKC110
 	bool "SMDKC110"
 	select CPU_S5PV210
-	select ARCH_SPARSEMEM_ENABLE
 	select S3C_DEV_I2C1
 	select S3C_DEV_I2C2
 	select S3C_DEV_RTC

arch/arm/mach-s5pv210/Kconfig menu "S5PV210 Machines"

Quoted 8 lines
arch/arm/mach-s5pv210/Kconfig +0 -2
@@ -118,7 +115,6 @@ menu "S5PV210 Machines"
 config MACH_SMDKV210
 	bool "SMDKV210"
 	select CPU_S5PV210
-	select ARCH_SPARSEMEM_ENABLE
 	select S3C_DEV_HSMMC
 	select S3C_DEV_HSMMC1
 	select S3C_DEV_HSMMC2
--

Looks ok to me..will apply.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.