Kconfig 4.4 KB
Newer Older
1
# arch/arm/mach-exynos4/Kconfig
2
#
3
# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
4 5 6 7
#		http://www.samsung.com/
#
# Licensed under GPLv2

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_MCT
19 20
	bool
	default y
21 22 23
	help
	  Use MCT (Multi Core Timer) as kernel timers

24 25 26 27 28
config EXYNOS4_DEV_AHCI
	bool
	help
	  Compile in platform device definitions for AHCI

29 30 31 32 33
config EXYNOS4_SETUP_FIMD0
	bool
	help
	  Common setup code for FIMD0.

34
config EXYNOS4_DEV_PD
35 36 37 38
	bool
	help
	  Compile in platform device definitions for Power Domain

39 40 41 42 43
config EXYNOS4_DEV_SYSMMU
	bool
	help
	  Common setup code for SYSTEM MMU in EXYNOS4

44 45 46 47 48
config EXYNOS4_DEV_DWMCI
	bool
	help
	  Compile in platform device definitions for DWMCI

49
config EXYNOS4_SETUP_I2C1
50 51 52 53
	bool
	help
	  Common setup code for i2c bus 1.

54
config EXYNOS4_SETUP_I2C2
55 56 57 58
	bool
	help
	  Common setup code for i2c bus 2.

59
config EXYNOS4_SETUP_I2C3
60 61 62 63
	bool
	help
	  Common setup code for i2c bus 3.

64
config EXYNOS4_SETUP_I2C4
65 66 67 68
	bool
	help
	  Common setup code for i2c bus 4.

69
config EXYNOS4_SETUP_I2C5
70 71 72 73
	bool
	help
	  Common setup code for i2c bus 5.

74
config EXYNOS4_SETUP_I2C6
75 76 77 78
	bool
	help
	  Common setup code for i2c bus 6.

79
config EXYNOS4_SETUP_I2C7
80 81 82 83
	bool
	help
	  Common setup code for i2c bus 7.

84 85 86 87 88
config EXYNOS4_SETUP_KEYPAD
	bool
	help
	  Common setup code for keypad.

89
config EXYNOS4_SETUP_SDHCI
90
	bool
91
	select EXYNOS4_SETUP_SDHCI_GPIO
92
	help
93
	  Internal helper functions for EXYNOS4 based SDHCI systems.
94

95
config EXYNOS4_SETUP_SDHCI_GPIO
96 97 98 99
	bool
	help
	  Common setup code for SDHCI gpio.

100 101 102 103 104
config EXYNOS4_SETUP_FIMC
	bool
	help
	  Common setup code for the camera interfaces.

105 106 107 108 109
config EXYNOS4_SETUP_USB_PHY
	bool
	help
	  Common setup code for USB PHY controller

110 111
# machine support

112
menu "EXYNOS4 Machines"
113

114 115
config MACH_SMDKC210
	bool "SMDKC210"
116
	select CPU_EXYNOS4210
117
	select S5P_DEV_FIMD0
C
Changhwan Youn 已提交
118
	select S3C_DEV_RTC
119
	select S3C_DEV_WDT
J
Jassi Brar 已提交
120
	select S3C_DEV_I2C1
121 122 123 124
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC1
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
125 126
	select EXYNOS4_DEV_PD
	select EXYNOS4_DEV_SYSMMU
127
	select EXYNOS4_SETUP_FIMD0
128 129
	select EXYNOS4_SETUP_I2C1
	select EXYNOS4_SETUP_SDHCI
130 131
	help
	  Machine support for Samsung SMDKC210
132 133 134

config MACH_SMDKV310
	bool "SMDKV310"
135
	select CPU_EXYNOS4210
136
	select S5P_DEV_FIMD0
C
Changhwan Youn 已提交
137
	select S3C_DEV_RTC
138
	select S3C_DEV_WDT
J
Jassi Brar 已提交
139
	select S3C_DEV_I2C1
140 141 142 143
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC1
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
144
	select EXYNOS4_DEV_AHCI
145
	select SAMSUNG_DEV_KEYPAD
146 147
	select EXYNOS4_DEV_PD
	select EXYNOS4_DEV_SYSMMU
148
	select EXYNOS4_SETUP_FIMD0
149
	select EXYNOS4_SETUP_I2C1
150
	select EXYNOS4_SETUP_KEYPAD
151
	select EXYNOS4_SETUP_SDHCI
152 153 154
	help
	  Machine support for Samsung SMDKV310

155 156 157 158 159 160 161 162
config MACH_ARMLEX4210
	bool "ARMLEX4210"
	select CPU_EXYNOS4210
	select S3C_DEV_RTC
	select S3C_DEV_WDT
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
163
	select EXYNOS4_DEV_AHCI
164 165 166 167 168
	select EXYNOS4_DEV_SYSMMU
	select EXYNOS4_SETUP_SDHCI
	help
	  Machine support for Samsung ARMLEX4210 based on EXYNOS4210

169 170 171
config MACH_UNIVERSAL_C210
	bool "Mobile UNIVERSAL_C210 Board"
	select CPU_EXYNOS4210
172
	select S5P_GPIO_INT
173 174 175 176
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
177 178 179 180
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
181
	select S3C_DEV_I2C3
182
	select S3C_DEV_I2C5
183 184
	select S5P_DEV_ONENAND
	select EXYNOS4_SETUP_I2C1
185
	select EXYNOS4_SETUP_I2C3
186
	select EXYNOS4_SETUP_I2C5
187 188 189 190 191
	select EXYNOS4_SETUP_SDHCI
	help
	  Machine support for Samsung Mobile Universal S5PC210 Reference
	  Board.

192 193 194 195 196 197 198 199
config MACH_NURI
	bool "Mobile NURI Board"
	select CPU_EXYNOS4210
	select S3C_DEV_WDT
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
200
	select S3C_DEV_I2C3
201
	select S3C_DEV_I2C5
202
	select S5P_DEV_USB_EHCI
203
	select EXYNOS4_SETUP_I2C1
204
	select EXYNOS4_SETUP_I2C3
205 206
	select EXYNOS4_SETUP_I2C5
	select EXYNOS4_SETUP_SDHCI
207
	select EXYNOS4_SETUP_USB_PHY
208
	select SAMSUNG_DEV_PWM
M
MyungJoo Ham 已提交
209
	select SAMSUNG_DEV_ADC
210 211 212
	help
	  Machine support for Samsung Mobile NURI Board.

213 214
endmenu

215 216 217 218
comment "Configuration for HSMMC bus width"

menu "Use 8-bit bus width"

219
config EXYNOS4_SDHCI_CH0_8BIT
220 221 222 223 224
	bool "Channel 0 with 8-bit bus"
	help
	  Support HSMMC Channel 0 8-bit bus.
	  If selected, Channel 1 is disabled.

225
config EXYNOS4_SDHCI_CH2_8BIT
226 227 228 229 230 231 232
	bool "Channel 2 with 8-bit bus"
	help
	  Support HSMMC Channel 2 8-bit bus.
	  If selected, Channel 3 is disabled.

endmenu

233
endif