diff options
-rw-r--r-- | arch/arm/Kconfig | 13 | ||||
-rw-r--r-- | arch/arm/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-s5p6440/Kconfig | 23 | ||||
-rw-r--r-- | arch/arm/mach-s5p6440/Makefile | 19 | ||||
-rw-r--r-- | arch/arm/mach-s5p6440/Makefile.boot | 2 | ||||
-rw-r--r-- | arch/arm/plat-s5p/Kconfig | 38 | ||||
-rw-r--r-- | arch/arm/plat-s5p/Makefile | 24 |
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 | ||
636 | config 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 | |||
636 | config ARCH_S5PC1XX | 644 | config 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" | |||
778 | source "arch/arm/plat-s3c24xx/Kconfig" | 786 | source "arch/arm/plat-s3c24xx/Kconfig" |
779 | source "arch/arm/plat-s3c64xx/Kconfig" | 787 | source "arch/arm/plat-s3c64xx/Kconfig" |
780 | source "arch/arm/plat-s3c/Kconfig" | 788 | source "arch/arm/plat-s3c/Kconfig" |
789 | source "arch/arm/plat-s5p/Kconfig" | ||
781 | source "arch/arm/plat-s5pc1xx/Kconfig" | 790 | source "arch/arm/plat-s5pc1xx/Kconfig" |
782 | 791 | ||
783 | if ARCH_S3C2410 | 792 | if ARCH_S3C2410 |
@@ -794,6 +803,8 @@ source "arch/arm/mach-s3c6400/Kconfig" | |||
794 | source "arch/arm/mach-s3c6410/Kconfig" | 803 | source "arch/arm/mach-s3c6410/Kconfig" |
795 | endif | 804 | endif |
796 | 805 | ||
806 | source "arch/arm/mach-s5p6440/Kconfig" | ||
807 | |||
797 | source "arch/arm/plat-stmp3xxx/Kconfig" | 808 | source "arch/arm/plat-stmp3xxx/Kconfig" |
798 | 809 | ||
799 | if ARCH_S5PC1XX | 810 | if ARCH_S5PC1XX |
@@ -1074,7 +1085,7 @@ source kernel/Kconfig.preempt | |||
1074 | config HZ | 1085 | config 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 | |||
161 | machine-$(CONFIG_ARCH_S3C2410) := s3c2410 s3c2400 s3c2412 s3c2440 s3c2442 s3c2443 | 161 | machine-$(CONFIG_ARCH_S3C2410) := s3c2410 s3c2400 s3c2412 s3c2440 s3c2442 s3c2443 |
162 | machine-$(CONFIG_ARCH_S3C24A0) := s3c24a0 | 162 | machine-$(CONFIG_ARCH_S3C24A0) := s3c24a0 |
163 | machine-$(CONFIG_ARCH_S3C64XX) := s3c6400 s3c6410 | 163 | machine-$(CONFIG_ARCH_S3C64XX) := s3c6400 s3c6410 |
164 | machine-$(CONFIG_ARCH_S5P6440) := s5p6440 | ||
164 | machine-$(CONFIG_ARCH_S5PC1XX) := s5pc100 | 165 | machine-$(CONFIG_ARCH_S5PC1XX) := s5pc100 |
165 | machine-$(CONFIG_ARCH_SA1100) := sa1100 | 166 | machine-$(CONFIG_ARCH_SA1100) := sa1100 |
166 | machine-$(CONFIG_ARCH_SHARK) := shark | 167 | machine-$(CONFIG_ARCH_SHARK) := shark |
@@ -184,6 +185,7 @@ plat-$(CONFIG_PLAT_PXA) := pxa | |||
184 | plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx s3c samsung | 185 | plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx s3c samsung |
185 | plat-$(CONFIG_PLAT_S3C64XX) := s3c64xx s3c samsung | 186 | plat-$(CONFIG_PLAT_S3C64XX) := s3c64xx s3c samsung |
186 | plat-$(CONFIG_PLAT_S5PC1XX) := s5pc1xx s3c samsung | 187 | plat-$(CONFIG_PLAT_S5PC1XX) := s5pc1xx s3c samsung |
188 | plat-$(CONFIG_PLAT_S5P) := s5p samsung s3c | ||
187 | plat-$(CONFIG_ARCH_STMP3XXX) := stmp3xxx | 189 | plat-$(CONFIG_ARCH_STMP3XXX) := stmp3xxx |
188 | 190 | ||
189 | ifeq ($(CONFIG_ARCH_EBSA110),y) | 191 | ifeq ($(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 | |||
8 | if ARCH_S5P6440 | ||
9 | |||
10 | config CPU_S5P6440 | ||
11 | bool | ||
12 | select CPU_S5P6440_INIT | ||
13 | select CPU_S5P6440_CLOCK | ||
14 | help | ||
15 | Enable S5P6440 CPU support | ||
16 | |||
17 | config MACH_SMDK6440 | ||
18 | bool "SMDK6440" | ||
19 | select CPU_S5P6440 | ||
20 | help | ||
21 | Machine support for the Samsung SMDK6440 | ||
22 | |||
23 | endif | ||
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 | |||
8 | obj-y := | ||
9 | obj-m := | ||
10 | obj-n := | ||
11 | obj- := | ||
12 | |||
13 | # Core support for S5P6440 system | ||
14 | |||
15 | obj-$(CONFIG_CPU_S5P6440) += cpu.o | ||
16 | |||
17 | # machine support | ||
18 | |||
19 | obj-$(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 | ||
2 | params_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 | |||
8 | config 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 | |||
24 | if (PLAT_S5P && ARCH_S5P6440) | ||
25 | |||
26 | # Configuration options shared by all S5P64XX implementations | ||
27 | |||
28 | config CPU_S5P6440_INIT | ||
29 | bool | ||
30 | help | ||
31 | Initialisation code for the S5P6440. | ||
32 | |||
33 | config CPU_S5P6440_CLOCK | ||
34 | bool | ||
35 | help | ||
36 | Clock support code for the S5P6440. | ||
37 | |||
38 | endif | ||
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 | |||
8 | obj-y := | ||
9 | obj-m := | ||
10 | obj-n := dummy.o | ||
11 | obj- := | ||
12 | |||
13 | # Core files | ||
14 | |||
15 | obj-y += dev-uart.o | ||
16 | obj-y += cpu.o | ||
17 | obj-y += clock.o | ||
18 | obj-y += irq.o | ||
19 | obj-y += setup-i2c0.o | ||
20 | |||
21 | # CPU support | ||
22 | |||
23 | obj-$(CONFIG_CPU_S5P6440_INIT) += s5p6440-init.o | ||
24 | obj-$(CONFIG_CPU_S5P6440_CLOCK) += s5p6440-clock.o | ||