diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2010-09-07 02:47:18 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-10-17 21:33:34 -0400 |
commit | 49b7a491b797305a0dc373e7f7a5d2a87955c819 (patch) | |
tree | deae43f642752f6bed5b6850fb93dd05f764ebae /arch | |
parent | 19a2c06548db1fa69c40be5bf3ad2095d6119871 (diff) |
ARM: S5P64X0: Update Kconfig and Makefile
This patch updates the Kconfig and Makefile for the S5P6440 and S5P6450
machines. It also updates arch/arm/ Kconfig and Makefile to include for
support ARCH_S5P64X0 with one kernel image.
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 11 | ||||
-rw-r--r-- | arch/arm/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-s5p6440/Kconfig | 33 | ||||
-rw-r--r-- | arch/arm/mach-s5p6440/Makefile | 25 | ||||
-rw-r--r-- | arch/arm/mach-s5p64x0/Kconfig | 57 | ||||
-rw-r--r-- | arch/arm/mach-s5p64x0/Makefile | 30 | ||||
-rw-r--r-- | arch/arm/mach-s5p64x0/Makefile.boot (renamed from arch/arm/mach-s5p6440/Makefile.boot) | 0 | ||||
-rw-r--r-- | arch/arm/plat-s5p/Kconfig | 4 |
8 files changed, 96 insertions, 66 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 9c26ba7244fb..e4b74fbdba0a 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -678,8 +678,8 @@ config ARCH_S3C64XX | |||
678 | help | 678 | help |
679 | Samsung S3C64XX series based systems | 679 | Samsung S3C64XX series based systems |
680 | 680 | ||
681 | config ARCH_S5P6440 | 681 | config ARCH_S5P64X0 |
682 | bool "Samsung S5P6440" | 682 | bool "Samsung S5P6440 S5P6450" |
683 | select CPU_V6 | 683 | select CPU_V6 |
684 | select GENERIC_GPIO | 684 | select GENERIC_GPIO |
685 | select HAVE_CLK | 685 | select HAVE_CLK |
@@ -688,7 +688,8 @@ config ARCH_S5P6440 | |||
688 | select HAVE_S3C2410_I2C | 688 | select HAVE_S3C2410_I2C |
689 | select HAVE_S3C_RTC | 689 | select HAVE_S3C_RTC |
690 | help | 690 | help |
691 | Samsung S5P6440 CPU based systems | 691 | Samsung S5P64X0 CPU based systems, such as the Samsung SMDK6440, |
692 | SMDK6450. | ||
692 | 693 | ||
693 | config ARCH_S5P6442 | 694 | config ARCH_S5P6442 |
694 | bool "Samsung S5P6442" | 695 | bool "Samsung S5P6442" |
@@ -928,7 +929,7 @@ if ARCH_S3C64XX | |||
928 | source "arch/arm/mach-s3c64xx/Kconfig" | 929 | source "arch/arm/mach-s3c64xx/Kconfig" |
929 | endif | 930 | endif |
930 | 931 | ||
931 | source "arch/arm/mach-s5p6440/Kconfig" | 932 | source "arch/arm/mach-s5p64x0/Kconfig" |
932 | 933 | ||
933 | source "arch/arm/mach-s5p6442/Kconfig" | 934 | source "arch/arm/mach-s5p6442/Kconfig" |
934 | 935 | ||
@@ -1271,7 +1272,7 @@ source kernel/Kconfig.preempt | |||
1271 | 1272 | ||
1272 | config HZ | 1273 | config HZ |
1273 | int | 1274 | int |
1274 | default 200 if ARCH_EBSA110 || ARCH_S3C2410 || ARCH_S5P6440 || \ | 1275 | default 200 if ARCH_EBSA110 || ARCH_S3C2410 || ARCH_S5P64X0 || \ |
1275 | ARCH_S5P6442 || ARCH_S5PV210 || ARCH_S5PV310 | 1276 | ARCH_S5P6442 || ARCH_S5PV210 || ARCH_S5PV310 |
1276 | default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER | 1277 | default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER |
1277 | default AT91_TIMER_HZ if ARCH_AT91 | 1278 | default AT91_TIMER_HZ if ARCH_AT91 |
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 59c1ce858fc8..8420f21571da 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -173,7 +173,7 @@ machine-$(CONFIG_ARCH_RPC) := rpc | |||
173 | machine-$(CONFIG_ARCH_S3C2410) := s3c2410 s3c2400 s3c2412 s3c2416 s3c2440 s3c2443 | 173 | machine-$(CONFIG_ARCH_S3C2410) := s3c2410 s3c2400 s3c2412 s3c2416 s3c2440 s3c2443 |
174 | machine-$(CONFIG_ARCH_S3C24A0) := s3c24a0 | 174 | machine-$(CONFIG_ARCH_S3C24A0) := s3c24a0 |
175 | machine-$(CONFIG_ARCH_S3C64XX) := s3c64xx | 175 | machine-$(CONFIG_ARCH_S3C64XX) := s3c64xx |
176 | machine-$(CONFIG_ARCH_S5P6440) := s5p6440 | 176 | machine-$(CONFIG_ARCH_S5P64X0) := s5p64x0 |
177 | machine-$(CONFIG_ARCH_S5P6442) := s5p6442 | 177 | machine-$(CONFIG_ARCH_S5P6442) := s5p6442 |
178 | machine-$(CONFIG_ARCH_S5PC100) := s5pc100 | 178 | machine-$(CONFIG_ARCH_S5PC100) := s5pc100 |
179 | machine-$(CONFIG_ARCH_S5PV210) := s5pv210 | 179 | machine-$(CONFIG_ARCH_S5PV210) := s5pv210 |
diff --git a/arch/arm/mach-s5p6440/Kconfig b/arch/arm/mach-s5p6440/Kconfig deleted file mode 100644 index 6a4af7f57584..000000000000 --- a/arch/arm/mach-s5p6440/Kconfig +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
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 S3C_PL330_DMA | ||
13 | help | ||
14 | Enable S5P6440 CPU support | ||
15 | |||
16 | config S5P6440_SETUP_I2C1 | ||
17 | bool | ||
18 | help | ||
19 | Common setup code for i2c bus 1. | ||
20 | |||
21 | config MACH_SMDK6440 | ||
22 | bool "SMDK6440" | ||
23 | select CPU_S5P6440 | ||
24 | select S3C_DEV_I2C1 | ||
25 | select S3C_DEV_RTC | ||
26 | select S3C_DEV_WDT | ||
27 | select SAMSUNG_DEV_ADC | ||
28 | select SAMSUNG_DEV_TS | ||
29 | select S5P6440_SETUP_I2C1 | ||
30 | help | ||
31 | Machine support for the Samsung SMDK6440 | ||
32 | |||
33 | endif | ||
diff --git a/arch/arm/mach-s5p6440/Makefile b/arch/arm/mach-s5p6440/Makefile deleted file mode 100644 index c3fe4d3662a9..000000000000 --- a/arch/arm/mach-s5p6440/Makefile +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
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 init.o clock.o gpio.o dma.o | ||
16 | obj-$(CONFIG_CPU_S5P6440) += setup-i2c0.o | ||
17 | |||
18 | # machine support | ||
19 | |||
20 | obj-$(CONFIG_MACH_SMDK6440) += mach-smdk6440.o | ||
21 | |||
22 | # device support | ||
23 | obj-y += dev-audio.o | ||
24 | obj-$(CONFIG_S3C64XX_DEV_SPI) += dev-spi.o | ||
25 | obj-$(CONFIG_S5P6440_SETUP_I2C1) += setup-i2c1.o | ||
diff --git a/arch/arm/mach-s5p64x0/Kconfig b/arch/arm/mach-s5p64x0/Kconfig new file mode 100644 index 000000000000..fbcae9352022 --- /dev/null +++ b/arch/arm/mach-s5p64x0/Kconfig | |||
@@ -0,0 +1,57 @@ | |||
1 | # arch/arm/mach-s5p64x0/Kconfig | ||
2 | # | ||
3 | # Copyright (c) 2009-2010 Samsung Electronics Co., Ltd. | ||
4 | # http://www.samsung.com/ | ||
5 | # | ||
6 | # Licensed under GPLv2 | ||
7 | |||
8 | if ARCH_S5P64X0 | ||
9 | |||
10 | config CPU_S5P6440 | ||
11 | bool | ||
12 | select PLAT_S5P | ||
13 | select S3C_PL330_DMA | ||
14 | help | ||
15 | Enable S5P6440 CPU support | ||
16 | |||
17 | config CPU_S5P6450 | ||
18 | bool | ||
19 | select PLAT_S5P | ||
20 | select S3C_PL330_DMA | ||
21 | help | ||
22 | Enable S5P6450 CPU support | ||
23 | |||
24 | config S5P64X0_SETUP_I2C1 | ||
25 | bool | ||
26 | help | ||
27 | Common setup code for i2c bus 1. | ||
28 | |||
29 | # machine support | ||
30 | |||
31 | config MACH_SMDK6440 | ||
32 | bool "SMDK6440" | ||
33 | select CPU_S5P6440 | ||
34 | select S3C_DEV_I2C1 | ||
35 | select S3C_DEV_RTC | ||
36 | select S3C_DEV_WDT | ||
37 | select S3C64XX_DEV_SPI | ||
38 | select SAMSUNG_DEV_ADC | ||
39 | select SAMSUNG_DEV_TS | ||
40 | select S5P64X0_SETUP_I2C1 | ||
41 | help | ||
42 | Machine support for the Samsung SMDK6440 | ||
43 | |||
44 | config MACH_SMDK6450 | ||
45 | bool "SMDK6450" | ||
46 | select CPU_S5P6450 | ||
47 | select S3C_DEV_I2C1 | ||
48 | select S3C_DEV_RTC | ||
49 | select S3C_DEV_WDT | ||
50 | select S3C64XX_DEV_SPI | ||
51 | select SAMSUNG_DEV_ADC | ||
52 | select SAMSUNG_DEV_TS | ||
53 | select S5P64X0_SETUP_I2C1 | ||
54 | help | ||
55 | Machine support for the Samsung SMDK6450 | ||
56 | |||
57 | endif | ||
diff --git a/arch/arm/mach-s5p64x0/Makefile b/arch/arm/mach-s5p64x0/Makefile new file mode 100644 index 000000000000..2655829e6bf8 --- /dev/null +++ b/arch/arm/mach-s5p64x0/Makefile | |||
@@ -0,0 +1,30 @@ | |||
1 | # arch/arm/mach-s5p64x0/Makefile | ||
2 | # | ||
3 | # Copyright (c) 2009-2010 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 S5P64X0 system | ||
14 | |||
15 | obj-$(CONFIG_ARCH_S5P64X0) += cpu.o init.o clock.o dma.o | ||
16 | obj-$(CONFIG_ARCH_S5P64X0) += setup-i2c0.o | ||
17 | obj-$(CONFIG_CPU_S5P6440) += clock-s5p6440.o gpio.o | ||
18 | obj-$(CONFIG_CPU_S5P6450) += clock-s5p6450.o | ||
19 | |||
20 | # machine support | ||
21 | |||
22 | obj-$(CONFIG_MACH_SMDK6440) += mach-smdk6440.o | ||
23 | obj-$(CONFIG_MACH_SMDK6450) += mach-smdk6450.o | ||
24 | |||
25 | # device support | ||
26 | |||
27 | obj-y += dev-audio.o | ||
28 | obj-$(CONFIG_S3C64XX_DEV_SPI) += dev-spi.o | ||
29 | |||
30 | obj-$(CONFIG_S5P64X0_SETUP_I2C1) += setup-i2c1.o | ||
diff --git a/arch/arm/mach-s5p6440/Makefile.boot b/arch/arm/mach-s5p64x0/Makefile.boot index ff90aa13bd67..ff90aa13bd67 100644 --- a/arch/arm/mach-s5p6440/Makefile.boot +++ b/arch/arm/mach-s5p64x0/Makefile.boot | |||
diff --git a/arch/arm/plat-s5p/Kconfig b/arch/arm/plat-s5p/Kconfig index 407e3236809d..25960966af7c 100644 --- a/arch/arm/plat-s5p/Kconfig +++ b/arch/arm/plat-s5p/Kconfig | |||
@@ -7,7 +7,7 @@ | |||
7 | 7 | ||
8 | config PLAT_S5P | 8 | config PLAT_S5P |
9 | bool | 9 | bool |
10 | depends on (ARCH_S5P6440 || ARCH_S5P6442 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_S5PV310) | 10 | depends on (ARCH_S5P64X0 || ARCH_S5P6442 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_S5PV310) |
11 | default y | 11 | default y |
12 | select ARM_VIC if !ARCH_S5PV310 | 12 | select ARM_VIC if !ARCH_S5PV310 |
13 | select ARM_GIC if ARCH_S5PV310 | 13 | select ARM_GIC if ARCH_S5PV310 |
@@ -30,7 +30,7 @@ config S5P_EXT_INT | |||
30 | bool | 30 | bool |
31 | help | 31 | help |
32 | Use the external interrupts (other than GPIO interrupts.) | 32 | Use the external interrupts (other than GPIO interrupts.) |
33 | Note: Do not choose this for S5P6440. | 33 | Note: Do not choose this for S5P6440 and S5P6450. |
34 | 34 | ||
35 | config S5P_DEV_FIMC0 | 35 | config S5P_DEV_FIMC0 |
36 | bool | 36 | bool |