aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/Kconfig13
-rw-r--r--arch/arm/Makefile2
-rw-r--r--arch/arm/mach-s5p6440/Kconfig23
-rw-r--r--arch/arm/mach-s5p6440/Makefile19
-rw-r--r--arch/arm/mach-s5p6440/Makefile.boot2
-rw-r--r--arch/arm/plat-s5p/Kconfig38
-rw-r--r--arch/arm/plat-s5p/Makefile24
7 files changed, 120 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index c2238cd474c7..3bc5169f0f82 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -633,6 +633,14 @@ config ARCH_S3C64XX
633 help 633 help
634 Samsung S3C64XX series based systems 634 Samsung S3C64XX series based systems
635 635
636config ARCH_S5P6440
637 bool "Samsung S5P6440"
638 select CPU_V6
639 select GENERIC_GPIO
640 select HAVE_CLK
641 help
642 Samsung S5P6440 CPU based systems
643
636config ARCH_S5PC1XX 644config ARCH_S5PC1XX
637 bool "Samsung S5PC1XX" 645 bool "Samsung S5PC1XX"
638 select GENERIC_GPIO 646 select GENERIC_GPIO
@@ -778,6 +786,7 @@ source "arch/arm/plat-samsung/Kconfig"
778source "arch/arm/plat-s3c24xx/Kconfig" 786source "arch/arm/plat-s3c24xx/Kconfig"
779source "arch/arm/plat-s3c64xx/Kconfig" 787source "arch/arm/plat-s3c64xx/Kconfig"
780source "arch/arm/plat-s3c/Kconfig" 788source "arch/arm/plat-s3c/Kconfig"
789source "arch/arm/plat-s5p/Kconfig"
781source "arch/arm/plat-s5pc1xx/Kconfig" 790source "arch/arm/plat-s5pc1xx/Kconfig"
782 791
783if ARCH_S3C2410 792if ARCH_S3C2410
@@ -794,6 +803,8 @@ source "arch/arm/mach-s3c6400/Kconfig"
794source "arch/arm/mach-s3c6410/Kconfig" 803source "arch/arm/mach-s3c6410/Kconfig"
795endif 804endif
796 805
806source "arch/arm/mach-s5p6440/Kconfig"
807
797source "arch/arm/plat-stmp3xxx/Kconfig" 808source "arch/arm/plat-stmp3xxx/Kconfig"
798 809
799if ARCH_S5PC1XX 810if ARCH_S5PC1XX
@@ -1074,7 +1085,7 @@ source kernel/Kconfig.preempt
1074config HZ 1085config HZ
1075 int 1086 int
1076 default 128 if ARCH_L7200 1087 default 128 if ARCH_L7200
1077 default 200 if ARCH_EBSA110 || ARCH_S3C2410 1088 default 200 if ARCH_EBSA110 || ARCH_S3C2410 || ARCH_S5P6440
1078 default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER 1089 default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
1079 default AT91_TIMER_HZ if ARCH_AT91 1090 default AT91_TIMER_HZ if ARCH_AT91
1080 default 100 1091 default 100
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index e9da08483b3c..bbcd512ccf7e 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -161,6 +161,7 @@ machine-$(CONFIG_ARCH_RPC) := rpc
161machine-$(CONFIG_ARCH_S3C2410) := s3c2410 s3c2400 s3c2412 s3c2440 s3c2442 s3c2443 161machine-$(CONFIG_ARCH_S3C2410) := s3c2410 s3c2400 s3c2412 s3c2440 s3c2442 s3c2443
162machine-$(CONFIG_ARCH_S3C24A0) := s3c24a0 162machine-$(CONFIG_ARCH_S3C24A0) := s3c24a0
163machine-$(CONFIG_ARCH_S3C64XX) := s3c6400 s3c6410 163machine-$(CONFIG_ARCH_S3C64XX) := s3c6400 s3c6410
164machine-$(CONFIG_ARCH_S5P6440) := s5p6440
164machine-$(CONFIG_ARCH_S5PC1XX) := s5pc100 165machine-$(CONFIG_ARCH_S5PC1XX) := s5pc100
165machine-$(CONFIG_ARCH_SA1100) := sa1100 166machine-$(CONFIG_ARCH_SA1100) := sa1100
166machine-$(CONFIG_ARCH_SHARK) := shark 167machine-$(CONFIG_ARCH_SHARK) := shark
@@ -184,6 +185,7 @@ plat-$(CONFIG_PLAT_PXA) := pxa
184plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx s3c samsung 185plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx s3c samsung
185plat-$(CONFIG_PLAT_S3C64XX) := s3c64xx s3c samsung 186plat-$(CONFIG_PLAT_S3C64XX) := s3c64xx s3c samsung
186plat-$(CONFIG_PLAT_S5PC1XX) := s5pc1xx s3c samsung 187plat-$(CONFIG_PLAT_S5PC1XX) := s5pc1xx s3c samsung
188plat-$(CONFIG_PLAT_S5P) := s5p samsung s3c
187plat-$(CONFIG_ARCH_STMP3XXX) := stmp3xxx 189plat-$(CONFIG_ARCH_STMP3XXX) := stmp3xxx
188 190
189ifeq ($(CONFIG_ARCH_EBSA110),y) 191ifeq ($(CONFIG_ARCH_EBSA110),y)
diff --git a/arch/arm/mach-s5p6440/Kconfig b/arch/arm/mach-s5p6440/Kconfig
new file mode 100644
index 000000000000..3aa246244dcf
--- /dev/null
+++ b/arch/arm/mach-s5p6440/Kconfig
@@ -0,0 +1,23 @@
1# arch/arm/mach-s5p6440/Kconfig
2#
3# Copyright (c) 2009 Samsung Electronics Co., Ltd.
4# http://www.samsung.com/
5#
6# Licensed under GPLv2
7
8if ARCH_S5P6440
9
10config CPU_S5P6440
11 bool
12 select CPU_S5P6440_INIT
13 select CPU_S5P6440_CLOCK
14 help
15 Enable S5P6440 CPU support
16
17config MACH_SMDK6440
18 bool "SMDK6440"
19 select CPU_S5P6440
20 help
21 Machine support for the Samsung SMDK6440
22
23endif
diff --git a/arch/arm/mach-s5p6440/Makefile b/arch/arm/mach-s5p6440/Makefile
new file mode 100644
index 000000000000..a3ffda96e87b
--- /dev/null
+++ b/arch/arm/mach-s5p6440/Makefile
@@ -0,0 +1,19 @@
1# arch/arm/mach-s5p6440/Makefile
2#
3# Copyright (c) 2009 Samsung Electronics Co., Ltd.
4# http://www.samsung.com/
5#
6# Licensed under GPLv2
7
8obj-y :=
9obj-m :=
10obj-n :=
11obj- :=
12
13# Core support for S5P6440 system
14
15obj-$(CONFIG_CPU_S5P6440) += cpu.o
16
17# machine support
18
19obj-$(CONFIG_MACH_SMDK6440) += mach-smdk6440.o
diff --git a/arch/arm/mach-s5p6440/Makefile.boot b/arch/arm/mach-s5p6440/Makefile.boot
new file mode 100644
index 000000000000..ff90aa13bd67
--- /dev/null
+++ b/arch/arm/mach-s5p6440/Makefile.boot
@@ -0,0 +1,2 @@
1 zreladdr-y := 0x20008000
2params_phys-y := 0x20000100
diff --git a/arch/arm/plat-s5p/Kconfig b/arch/arm/plat-s5p/Kconfig
new file mode 100644
index 000000000000..7e08b4064414
--- /dev/null
+++ b/arch/arm/plat-s5p/Kconfig
@@ -0,0 +1,38 @@
1# arch/arm/plat-s5p/Kconfig
2#
3# Copyright (c) 2009 Samsung Electronics Co., Ltd.
4# http://www.samsung.com/
5#
6# Licensed under GPLv2
7
8config PLAT_S5P
9 bool
10 depends on ARCH_S5P6440
11 default y
12 select PLAT_S3C
13 select ARM_VIC
14 select NO_IOPORT
15 select ARCH_REQUIRE_GPIOLIB
16 select S3C_GPIO_TRACK
17 select PLAT_SAMSUNG
18 select SAMSUNG_CLKSRC
19 select SAMSUNG_IRQ_VIC_TIMER
20 select SAMSUNG_IRQ_UART
21 help
22 Base platform code for Samsung's S5P series SoC.
23
24if (PLAT_S5P && ARCH_S5P6440)
25
26# Configuration options shared by all S5P64XX implementations
27
28config CPU_S5P6440_INIT
29 bool
30 help
31 Initialisation code for the S5P6440.
32
33config CPU_S5P6440_CLOCK
34 bool
35 help
36 Clock support code for the S5P6440.
37
38endif
diff --git a/arch/arm/plat-s5p/Makefile b/arch/arm/plat-s5p/Makefile
new file mode 100644
index 000000000000..92b647450542
--- /dev/null
+++ b/arch/arm/plat-s5p/Makefile
@@ -0,0 +1,24 @@
1# arch/arm/plat-s5p/Makefile
2#
3# Copyright (c) 2009 Samsung Electronics Co., Ltd.
4# http://www.samsung.com/
5#
6# Licensed under GPLv2
7
8obj-y :=
9obj-m :=
10obj-n := dummy.o
11obj- :=
12
13# Core files
14
15obj-y += dev-uart.o
16obj-y += cpu.o
17obj-y += clock.o
18obj-y += irq.o
19obj-y += setup-i2c0.o
20
21# CPU support
22
23obj-$(CONFIG_CPU_S5P6440_INIT) += s5p6440-init.o
24obj-$(CONFIG_CPU_S5P6440_CLOCK) += s5p6440-clock.o