Kconfig 4.6 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 SAMSUNG_DMADEV
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 SAMSUNG_DEV_PWM
	select SAMSUNG_DEV_BACKLIGHT
127 128
	select EXYNOS4_DEV_PD
	select EXYNOS4_DEV_SYSMMU
129
	select EXYNOS4_SETUP_FIMD0
130 131
	select EXYNOS4_SETUP_I2C1
	select EXYNOS4_SETUP_SDHCI
132 133
	help
	  Machine support for Samsung SMDKC210
134 135 136

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

159 160 161 162 163 164 165 166
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
167
	select EXYNOS4_DEV_AHCI
168 169 170 171 172
	select EXYNOS4_DEV_SYSMMU
	select EXYNOS4_SETUP_SDHCI
	help
	  Machine support for Samsung ARMLEX4210 based on EXYNOS4210

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

198 199 200 201 202 203 204 205
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
206
	select S3C_DEV_I2C3
207
	select S3C_DEV_I2C5
208
	select S5P_DEV_MFC
209
	select S5P_DEV_USB_EHCI
210
	select EXYNOS4_DEV_PD
211
	select EXYNOS4_SETUP_I2C1
212
	select EXYNOS4_SETUP_I2C3
213 214
	select EXYNOS4_SETUP_I2C5
	select EXYNOS4_SETUP_SDHCI
215
	select EXYNOS4_SETUP_USB_PHY
216
	select SAMSUNG_DEV_PWM
M
MyungJoo Ham 已提交
217
	select SAMSUNG_DEV_ADC
218 219 220
	help
	  Machine support for Samsung Mobile NURI Board.

221 222
endmenu

223 224 225 226
comment "Configuration for HSMMC bus width"

menu "Use 8-bit bus width"

227
config EXYNOS4_SDHCI_CH0_8BIT
228 229 230 231 232
	bool "Channel 0 with 8-bit bus"
	help
	  Support HSMMC Channel 0 8-bit bus.
	  If selected, Channel 1 is disabled.

233
config EXYNOS4_SDHCI_CH2_8BIT
234 235 236 237 238 239 240
	bool "Channel 2 with 8-bit bus"
	help
	  Support HSMMC Channel 2 8-bit bus.
	  If selected, Channel 3 is disabled.

endmenu

241
endif