Skip to contentSkip to conversation

ARM: EXYNOS4: Add support SMDK4412 Board

PATCH New Kukjin Kim 1 participant 1 message Sep 29, 2011

Subsystems (3)
lore
Share & tools
lore

Kukjin Kim

author
#0 lore raw

PATCH 5/5 ARM: EXYNOS4: Add support SMDK4412 Board

From: Changhwan Youn <[email protected]>

SMDK4412 board is same as a SMDK4212 board except that it has EXYNOS4412 SoC, thus it can share machine code with SMDK4212.

This patch renames mach-smdk4212.c to mach-smdk4x12.c to support both SMDK4212 and SMDK4412 board with one machine file.

---
 arch/arm/mach-exynos4/Kconfig                      |    9 ++
 arch/arm/mach-exynos4/Makefile                     |    3 +-
 .../{mach-smdk4212.c => mach-smdk4x12.c}           |  128 +++++++++++---------
 3 files changed, 80 insertions(+), 60 deletions(-)
 rename arch/arm/mach-exynos4/{mach-smdk4212.c => mach-smdk4x12.c} (61%)
arch/arm/mach-exynos4/Kconfig +9 -0
index bf3e21d..6dfde07 100644
@@ -278,6 +278,15 @@ config MACH_SMDK4212
 	help
 	  Machine support for Samsung SMDK4212
 
+comment "EXYNOS4412 Boards"
+
+config MACH_SMDK4412
+	bool "SMDK4412"
+	select SOC_EXYNOS4412
+	select MACH_SMDK4212
+	help
+	  Machine support for Samsung SMDK4412
+
 endmenu
 
 comment "Configuration for HSMMC bus width"
arch/arm/mach-exynos4/Makefile +2 -1
index e19cd12..c9b2e1f 100644
@@ -34,7 +34,8 @@ obj-$(CONFIG_MACH_UNIVERSAL_C210)	+= mach-universal_c210.o
 obj-$(CONFIG_MACH_NURI)			+= mach-nuri.o
 obj-$(CONFIG_MACH_ORIGEN)		+= mach-origen.o
 
-obj-$(CONFIG_MACH_SMDK4212)		+= mach-smdk4212.o
+obj-$(CONFIG_MACH_SMDK4212)		+= mach-smdk4x12.o
+obj-$(CONFIG_MACH_SMDK4412)		+= mach-smdk4x12.o
 
 # device support
 
arch/arm/mach-exynos4/mach-smdk4x12.c renamed from arch/arm/mach-exynos4/mach-smdk4212.c +69 -59

269 lines not on this page · raw message

Signature · 1 line
1.7.1