Skip to contentSkip to conversation

ARM: Samsung: S5PC110: Place the common SPARSEMEM at CPU_S5PV210

PATCH New Kyungmin Park 2 participants 2 messages Sep 27, 2010 – Sep 28, 2010

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

PATCH 1/2 ARM: Samsung: S5PC110: Place the common SPARSEMEM at CPU_S5PV210

From: Kyungmin Park <[email protected]>

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

---
 arch/arm/mach-s5pv210/Kconfig |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
arch/arm/mach-s5pv210/Kconfig +1 -4
index d3a3895..c361349 100644
@@ -14,6 +14,7 @@ config CPU_S5PV210
 	select PLAT_S5P
 	select S3C_PL330_DMA
 	select S5P_EXT_INT
+	select ARCH_SPARSEMEM_ENABLE
 	help
 	  Enable S5PV210 CPU support
 
@@ -63,7 +64,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 +80,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 +97,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 +116,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 1/2 ARM: Samsung: S5PC110: Place the common SPARSEMEM at CPU_S5PV210

Quoted 4 lines · Kyungmin Park

From: Kyungmin Park <[email protected]>

In case of s5pc110 CPU. It uses the SPARSEMEN as default memory

Sparsemem?

Quoted 13 lines

configuration.
So move to CPU_S5PV210 config.

---
 arch/arm/mach-s5pv210/Kconfig |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
arch/arm/mach-s5pv210/Kconfig +0 -0
index d3a3895..c361349 100644

arch/arm/mach-s5pv210/Kconfig config CPU_S5PV210 · line 17

Quoted 4 lines
arch/arm/mach-s5pv210/Kconfig +1 -0
@@ -14,6 +14,7 @@ config CPU_S5PV210
 	select PLAT_S5P
 	select S3C_PL330_DMA
 	select S5P_EXT_INT
+	select ARCH_SPARSEMEM_ENABLE

I think, should being in the ARCH_S5PV210 not here. Your other patch, same.

Quoted 28 lines
arch/arm/mach-s5pv210/Kconfig +0 -3
 	help
 	  Enable S5PV210 CPU support
 
@@ -63,7 +64,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 +80,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 +97,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 +116,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
--

Thanks.

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