Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4ffccdd authored by Kukjin Kim's avatar Kukjin Kim Committed by Ben Dooks
Browse files

ARM: S5P6440: Add new Kconfig and Makefiles



This patch adds the Kconfig and Makefile for the new S5P6440 machine
and platform directories. It also updates arch/arm Kconfig and Makefiles
to include the support for the new S5P6440 CPU.

Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 5f3545f6
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -633,6 +633,14 @@ config ARCH_S3C64XX
	help
	  Samsung S3C64XX series based systems

config ARCH_S5P6440
	bool "Samsung S5P6440"
	select CPU_V6
	select GENERIC_GPIO
	select HAVE_CLK
	help
	  Samsung S5P6440 CPU based systems

config ARCH_S5PC1XX
	bool "Samsung S5PC1XX"
	select GENERIC_GPIO
@@ -778,6 +786,7 @@ source "arch/arm/plat-samsung/Kconfig"
source "arch/arm/plat-s3c24xx/Kconfig"
source "arch/arm/plat-s3c64xx/Kconfig"
source "arch/arm/plat-s3c/Kconfig"
source "arch/arm/plat-s5p/Kconfig"
source "arch/arm/plat-s5pc1xx/Kconfig"

if ARCH_S3C2410
@@ -794,6 +803,8 @@ source "arch/arm/mach-s3c6400/Kconfig"
source "arch/arm/mach-s3c6410/Kconfig"
endif

source "arch/arm/mach-s5p6440/Kconfig"

source "arch/arm/plat-stmp3xxx/Kconfig"

if ARCH_S5PC1XX
@@ -1074,7 +1085,7 @@ source kernel/Kconfig.preempt
config HZ
	int
	default 128 if ARCH_L7200
	default 200 if ARCH_EBSA110 || ARCH_S3C2410
	default 200 if ARCH_EBSA110 || ARCH_S3C2410 || ARCH_S5P6440
	default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
	default AT91_TIMER_HZ if ARCH_AT91
	default 100
+2 −0
Original line number Diff line number Diff line
@@ -161,6 +161,7 @@ machine-$(CONFIG_ARCH_RPC) := rpc
machine-$(CONFIG_ARCH_S3C2410)		:= s3c2410 s3c2400 s3c2412 s3c2440 s3c2442 s3c2443
machine-$(CONFIG_ARCH_S3C24A0)		:= s3c24a0
machine-$(CONFIG_ARCH_S3C64XX)		:= s3c6400 s3c6410
machine-$(CONFIG_ARCH_S5P6440)		:= s5p6440
machine-$(CONFIG_ARCH_S5PC1XX)		:= s5pc100
machine-$(CONFIG_ARCH_SA1100)		:= sa1100
machine-$(CONFIG_ARCH_SHARK)		:= shark
@@ -184,6 +185,7 @@ plat-$(CONFIG_PLAT_PXA) := pxa
plat-$(CONFIG_PLAT_S3C24XX)	:= s3c24xx s3c samsung
plat-$(CONFIG_PLAT_S3C64XX)	:= s3c64xx s3c samsung
plat-$(CONFIG_PLAT_S5PC1XX)	:= s5pc1xx s3c samsung
plat-$(CONFIG_PLAT_S5P)		:= s5p samsung s3c
plat-$(CONFIG_ARCH_STMP3XXX)	:= stmp3xxx

ifeq ($(CONFIG_ARCH_EBSA110),y)
+23 −0
Original line number Diff line number Diff line
# arch/arm/mach-s5p6440/Kconfig
#
# Copyright (c) 2009 Samsung Electronics Co., Ltd.
#		http://www.samsung.com/
#
# Licensed under GPLv2

if ARCH_S5P6440

config CPU_S5P6440
	bool
	select CPU_S5P6440_INIT
	select CPU_S5P6440_CLOCK
	help
	  Enable S5P6440 CPU support

config MACH_SMDK6440
	bool "SMDK6440"
	select CPU_S5P6440
	help
	  Machine support for the Samsung SMDK6440

endif
+19 −0
Original line number Diff line number Diff line
# arch/arm/mach-s5p6440/Makefile
#
# Copyright (c) 2009 Samsung Electronics Co., Ltd.
# 		http://www.samsung.com/
#
# Licensed under GPLv2

obj-y				:=
obj-m				:=
obj-n				:=
obj-				:=

# Core support for S5P6440 system

obj-$(CONFIG_CPU_S5P6440)	+= cpu.o

# machine support

obj-$(CONFIG_MACH_SMDK6440)	+= mach-smdk6440.o
+2 −0
Original line number Diff line number Diff line
   zreladdr-y	:= 0x20008000
params_phys-y	:= 0x20000100
Loading