diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2011-02-14 01:05:27 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-02-21 23:51:15 -0500 |
commit | 10606aadb046d008c88d1a99b309357ca33d590e (patch) | |
tree | d1f49c21bc6d283fb78cad44e16334721714d652 /arch/arm/mach-exynos4 | |
parent | d11135ca4f6e626e1c8aa78de6d472a11a9e9811 (diff) |
ARM: EXYNOS4: Update Kconfig and Makefile for the new ARCH_EXYNOS4
This patch changes the Kconfig and Makefile for the new ARCH_EXYNOS4.
It also updates arch/arm/Kconfig, Makeifile and arch/arm/mm/Kconfig
to include support for the new ARCH_EXYNOS4.
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos4')
-rw-r--r-- | arch/arm/mach-exynos4/Kconfig | 146 | ||||
-rw-r--r-- | arch/arm/mach-exynos4/Makefile | 43 | ||||
-rw-r--r-- | arch/arm/mach-exynos4/Makefile.boot | 2 |
3 files changed, 191 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos4/Kconfig b/arch/arm/mach-exynos4/Kconfig new file mode 100644 index 000000000000..ad038401290e --- /dev/null +++ b/arch/arm/mach-exynos4/Kconfig | |||
@@ -0,0 +1,146 @@ | |||
1 | # arch/arm/mach-exynos4/Kconfig | ||
2 | # | ||
3 | # Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. | ||
4 | # http://www.samsung.com/ | ||
5 | # | ||
6 | # Licensed under GPLv2 | ||
7 | |||
8 | # Configuration options for the EXYNOS4 | ||
9 | |||
10 | if ARCH_EXYNOS4 | ||
11 | |||
12 | config CPU_EXYNOS4210 | ||
13 | bool | ||
14 | select S3C_PL330_DMA | ||
15 | help | ||
16 | Enable EXYNOS4210 CPU support | ||
17 | |||
18 | config EXYNOS4_DEV_PD | ||
19 | bool | ||
20 | help | ||
21 | Compile in platform device definitions for Power Domain | ||
22 | |||
23 | config EXYNOS4_DEV_SYSMMU | ||
24 | bool | ||
25 | help | ||
26 | Common setup code for SYSTEM MMU in EXYNOS4 | ||
27 | |||
28 | config EXYNOS4_SETUP_I2C1 | ||
29 | bool | ||
30 | help | ||
31 | Common setup code for i2c bus 1. | ||
32 | |||
33 | config EXYNOS4_SETUP_I2C2 | ||
34 | bool | ||
35 | help | ||
36 | Common setup code for i2c bus 2. | ||
37 | |||
38 | config EXYNOS4_SETUP_I2C3 | ||
39 | bool | ||
40 | help | ||
41 | Common setup code for i2c bus 3. | ||
42 | |||
43 | config EXYNOS4_SETUP_I2C4 | ||
44 | bool | ||
45 | help | ||
46 | Common setup code for i2c bus 4. | ||
47 | |||
48 | config EXYNOS4_SETUP_I2C5 | ||
49 | bool | ||
50 | help | ||
51 | Common setup code for i2c bus 5. | ||
52 | |||
53 | config EXYNOS4_SETUP_I2C6 | ||
54 | bool | ||
55 | help | ||
56 | Common setup code for i2c bus 6. | ||
57 | |||
58 | config EXYNOS4_SETUP_I2C7 | ||
59 | bool | ||
60 | help | ||
61 | Common setup code for i2c bus 7. | ||
62 | |||
63 | config EXYNOS4_SETUP_SDHCI | ||
64 | bool | ||
65 | select EXYNOS4_SETUP_SDHCI_GPIO | ||
66 | help | ||
67 | Internal helper functions for EXYNOS4 based SDHCI systems. | ||
68 | |||
69 | config EXYNOS4_SETUP_SDHCI_GPIO | ||
70 | bool | ||
71 | help | ||
72 | Common setup code for SDHCI gpio. | ||
73 | |||
74 | # machine support | ||
75 | |||
76 | menu "EXYNOS4 Machines" | ||
77 | |||
78 | config MACH_SMDKC210 | ||
79 | bool "SMDKC210" | ||
80 | select CPU_EXYNOS4210 | ||
81 | select S3C_DEV_RTC | ||
82 | select S3C_DEV_WDT | ||
83 | select S3C_DEV_I2C1 | ||
84 | select S3C_DEV_HSMMC | ||
85 | select S3C_DEV_HSMMC1 | ||
86 | select S3C_DEV_HSMMC2 | ||
87 | select S3C_DEV_HSMMC3 | ||
88 | select EXYNOS4_DEV_PD | ||
89 | select EXYNOS4_DEV_SYSMMU | ||
90 | select EXYNOS4_SETUP_I2C1 | ||
91 | select EXYNOS4_SETUP_SDHCI | ||
92 | help | ||
93 | Machine support for Samsung SMDKC210 | ||
94 | |||
95 | config MACH_SMDKV310 | ||
96 | bool "SMDKV310" | ||
97 | select CPU_EXYNOS4210 | ||
98 | select S3C_DEV_RTC | ||
99 | select S3C_DEV_WDT | ||
100 | select S3C_DEV_I2C1 | ||
101 | select S3C_DEV_HSMMC | ||
102 | select S3C_DEV_HSMMC1 | ||
103 | select S3C_DEV_HSMMC2 | ||
104 | select S3C_DEV_HSMMC3 | ||
105 | select EXYNOS4_DEV_PD | ||
106 | select EXYNOS4_DEV_SYSMMU | ||
107 | select EXYNOS4_SETUP_I2C1 | ||
108 | select EXYNOS4_SETUP_SDHCI | ||
109 | help | ||
110 | Machine support for Samsung SMDKV310 | ||
111 | |||
112 | config MACH_UNIVERSAL_C210 | ||
113 | bool "Mobile UNIVERSAL_C210 Board" | ||
114 | select CPU_EXYNOS4210 | ||
115 | select S3C_DEV_HSMMC | ||
116 | select S3C_DEV_HSMMC2 | ||
117 | select S3C_DEV_HSMMC3 | ||
118 | select S3C_DEV_I2C1 | ||
119 | select S5P_DEV_ONENAND | ||
120 | select EXYNOS4_SETUP_I2C1 | ||
121 | select EXYNOS4_SETUP_SDHCI | ||
122 | help | ||
123 | Machine support for Samsung Mobile Universal S5PC210 Reference | ||
124 | Board. | ||
125 | |||
126 | endmenu | ||
127 | |||
128 | comment "Configuration for HSMMC bus width" | ||
129 | |||
130 | menu "Use 8-bit bus width" | ||
131 | |||
132 | config EXYNOS4_SDHCI_CH0_8BIT | ||
133 | bool "Channel 0 with 8-bit bus" | ||
134 | help | ||
135 | Support HSMMC Channel 0 8-bit bus. | ||
136 | If selected, Channel 1 is disabled. | ||
137 | |||
138 | config EXYNOS4_SDHCI_CH2_8BIT | ||
139 | bool "Channel 2 with 8-bit bus" | ||
140 | help | ||
141 | Support HSMMC Channel 2 8-bit bus. | ||
142 | If selected, Channel 3 is disabled. | ||
143 | |||
144 | endmenu | ||
145 | |||
146 | endif | ||
diff --git a/arch/arm/mach-exynos4/Makefile b/arch/arm/mach-exynos4/Makefile new file mode 100644 index 000000000000..055823533230 --- /dev/null +++ b/arch/arm/mach-exynos4/Makefile | |||
@@ -0,0 +1,43 @@ | |||
1 | # arch/arm/mach-exynos4/Makefile | ||
2 | # | ||
3 | # Copyright (c) 2010-2011 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 EXYNOS4 system | ||
14 | |||
15 | obj-$(CONFIG_CPU_EXYNOS4210) += cpu.o init.o clock.o irq-combiner.o | ||
16 | obj-$(CONFIG_CPU_EXYNOS4210) += setup-i2c0.o time.o gpiolib.o irq-eint.o dma.o | ||
17 | obj-$(CONFIG_CPU_FREQ) += cpufreq.o | ||
18 | |||
19 | obj-$(CONFIG_SMP) += platsmp.o headsmp.o | ||
20 | obj-$(CONFIG_LOCAL_TIMERS) += localtimer.o | ||
21 | obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o | ||
22 | |||
23 | # machine support | ||
24 | |||
25 | obj-$(CONFIG_MACH_SMDKC210) += mach-smdkc210.o | ||
26 | obj-$(CONFIG_MACH_SMDKV310) += mach-smdkv310.o | ||
27 | obj-$(CONFIG_MACH_UNIVERSAL_C210) += mach-universal_c210.o | ||
28 | |||
29 | # device support | ||
30 | |||
31 | obj-y += dev-audio.o | ||
32 | obj-$(CONFIG_EXYNOS4_DEV_PD) += dev-pd.o | ||
33 | obj-$(CONFIG_EXYNOS4_DEV_SYSMMU) += dev-sysmmu.o | ||
34 | |||
35 | obj-$(CONFIG_EXYNOS4_SETUP_I2C1) += setup-i2c1.o | ||
36 | obj-$(CONFIG_EXYNOS4_SETUP_I2C2) += setup-i2c2.o | ||
37 | obj-$(CONFIG_EXYNOS4_SETUP_I2C3) += setup-i2c3.o | ||
38 | obj-$(CONFIG_EXYNOS4_SETUP_I2C4) += setup-i2c4.o | ||
39 | obj-$(CONFIG_EXYNOS4_SETUP_I2C5) += setup-i2c5.o | ||
40 | obj-$(CONFIG_EXYNOS4_SETUP_I2C6) += setup-i2c6.o | ||
41 | obj-$(CONFIG_EXYNOS4_SETUP_I2C7) += setup-i2c7.o | ||
42 | obj-$(CONFIG_EXYNOS4_SETUP_SDHCI) += setup-sdhci.o | ||
43 | obj-$(CONFIG_EXYNOS4_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o | ||
diff --git a/arch/arm/mach-exynos4/Makefile.boot b/arch/arm/mach-exynos4/Makefile.boot new file mode 100644 index 000000000000..d65956ffb43d --- /dev/null +++ b/arch/arm/mach-exynos4/Makefile.boot | |||
@@ -0,0 +1,2 @@ | |||
1 | zreladdr-y := 0x40008000 | ||
2 | params_phys-y := 0x40000100 | ||