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
8if ARCH_S5P64X0
9
10config CPU_S5P6440
11	bool
12	select SAMSUNG_DMADEV
13	select S5P_HRT
14	select S5P_SLEEP if PM
15	select SAMSUNG_WAKEMASK if PM
16	help
17	  Enable S5P6440 CPU support
18
19config CPU_S5P6450
20	bool
21	select SAMSUNG_DMADEV
22	select S5P_HRT
23	select S5P_SLEEP if PM
24	select SAMSUNG_WAKEMASK if PM
25	help
26	  Enable S5P6450 CPU support
27
28config S5P64X0_SETUP_FB_24BPP
29	bool
30	help
31	  Common setup code for S5P64X0 based boards with a LCD display
32	  through RGB interface.
33
34config S5P64X0_SETUP_I2C1
35	bool
36	help
37	  Common setup code for i2c bus 1.
38
39config S5P64X0_SETUP_SPI
40	bool
41	help
42	  Common setup code for SPI GPIO configurations
43
44config S5P64X0_SETUP_SDHCI_GPIO
45	bool
46	help
47	  Common setup code for SDHCI gpio.
48
49# machine support
50
51config MACH_SMDK6440
52	bool "SMDK6440"
53	select CPU_S5P6440
54	select S3C_DEV_FB
55	select S3C_DEV_I2C1
56	select S3C_DEV_RTC
57	select S3C_DEV_WDT
58	select S3C_DEV_HSMMC
59	select S3C_DEV_HSMMC1
60	select S3C_DEV_HSMMC2
61	select SAMSUNG_DEV_ADC
62	select SAMSUNG_DEV_BACKLIGHT
63	select SAMSUNG_DEV_PWM
64	select SAMSUNG_DEV_TS
65	select S5P64X0_SETUP_FB_24BPP
66	select S5P64X0_SETUP_I2C1
67	select S5P64X0_SETUP_SDHCI_GPIO
68	help
69	  Machine support for the Samsung SMDK6440
70
71config MACH_SMDK6450
72	bool "SMDK6450"
73	select CPU_S5P6450
74	select S3C_DEV_FB
75	select S3C_DEV_I2C1
76	select S3C_DEV_RTC
77	select S3C_DEV_WDT
78	select S3C_DEV_HSMMC
79	select S3C_DEV_HSMMC1
80	select S3C_DEV_HSMMC2
81	select SAMSUNG_DEV_ADC
82	select SAMSUNG_DEV_BACKLIGHT
83	select SAMSUNG_DEV_PWM
84	select SAMSUNG_DEV_TS
85	select S5P64X0_SETUP_FB_24BPP
86	select S5P64X0_SETUP_I2C1
87	select S5P64X0_SETUP_SDHCI_GPIO
88	help
89	  Machine support for the Samsung SMDK6450
90
91menu "Use 8-bit SDHCI bus width"
92
93config S5P64X0_SD_CH1_8BIT
94	bool "SDHCI Channel 1 (Slot 1)"
95	depends on MACH_SMDK6450 || MACH_SMDK6440
96	help
97	  Support SDHCI Channel 1 8-bit bus.
98	  If selected, Channel 2 is disabled.
99
100endmenu
101
102endif
103