diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-01-25 20:11:04 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-01-25 20:16:32 -0500 |
commit | 431107ea5b680a24a4d01fbd3a178a3eb932f378 (patch) | |
tree | 6515a616e8ed60480e169188e630936794be2c77 /arch/arm/mach-s3c64xx/Kconfig | |
parent | ab5d97db1c6ced3e95c00d097931471707032b1f (diff) |
ARM: S3C64XX: Merge mach-s3c6400 and mach-s3c6410
As per discussions with Russell King on linux-arm-kernel, it appears that
both mach-s3c6400 and mach-s3c6410 are so close together that they should
simply be merged into mach-s3c64xx.
Note, this patch does not eliminate any of the bits that are still common,
it is simply a move of the two directories together, any further common
code will be eliminated or moved in further patches.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c64xx/Kconfig')
-rw-r--r-- | arch/arm/mach-s3c64xx/Kconfig | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/Kconfig b/arch/arm/mach-s3c64xx/Kconfig new file mode 100644 index 000000000000..551bb3faa3ac --- /dev/null +++ b/arch/arm/mach-s3c64xx/Kconfig | |||
@@ -0,0 +1,135 @@ | |||
1 | # Copyright 2008 Openmoko, Inc. | ||
2 | # Simtec Electronics, Ben Dooks <ben@simtec.co.uk> | ||
3 | # | ||
4 | # Licensed under GPLv2 | ||
5 | |||
6 | # Configuration options for the S3C6410 CPU | ||
7 | |||
8 | config CPU_S3C6400 | ||
9 | bool | ||
10 | select CPU_S3C6400_INIT | ||
11 | select CPU_S3C6400_CLOCK | ||
12 | help | ||
13 | Enable S3C6400 CPU support | ||
14 | |||
15 | config CPU_S3C6410 | ||
16 | bool | ||
17 | select CPU_S3C6400_INIT | ||
18 | select CPU_S3C6400_CLOCK | ||
19 | help | ||
20 | Enable S3C6410 CPU support | ||
21 | |||
22 | config S3C6400_SETUP_SDHCI | ||
23 | bool | ||
24 | help | ||
25 | Internal configuration for default SDHCI | ||
26 | setup for S3C6400. | ||
27 | |||
28 | config S3C6410_SETUP_SDHCI | ||
29 | bool | ||
30 | select S3C64XX_SETUP_SDHCI_GPIO | ||
31 | help | ||
32 | Internal helper functions for S3C6410 based SDHCI systems | ||
33 | |||
34 | # S36400 Macchine support | ||
35 | |||
36 | config MACH_SMDK6400 | ||
37 | bool "SMDK6400" | ||
38 | select CPU_S3C6400 | ||
39 | select S3C_DEV_HSMMC | ||
40 | select S3C_DEV_NAND | ||
41 | select S3C6400_SETUP_SDHCI | ||
42 | help | ||
43 | Machine support for the Samsung SMDK6400 | ||
44 | |||
45 | # S3C6410 machine support | ||
46 | |||
47 | config MACH_ANW6410 | ||
48 | bool "A&W6410" | ||
49 | select CPU_S3C6410 | ||
50 | select S3C_DEV_FB | ||
51 | select S3C64XX_SETUP_FB_24BPP | ||
52 | help | ||
53 | Machine support for the A&W6410 | ||
54 | |||
55 | config MACH_SMDK6410 | ||
56 | bool "SMDK6410" | ||
57 | select CPU_S3C6410 | ||
58 | select S3C_DEV_HSMMC | ||
59 | select S3C_DEV_HSMMC1 | ||
60 | select S3C_DEV_I2C1 | ||
61 | select S3C_DEV_FB | ||
62 | select S3C_DEV_USB_HOST | ||
63 | select S3C_DEV_USB_HSOTG | ||
64 | select S3C6410_SETUP_SDHCI | ||
65 | select S3C64XX_SETUP_I2C1 | ||
66 | select S3C64XX_SETUP_FB_24BPP | ||
67 | help | ||
68 | Machine support for the Samsung SMDK6410 | ||
69 | |||
70 | # At least some of the SMDK6410s were shipped with the card detect | ||
71 | # for the MMC/SD slots connected to the same input. This means that | ||
72 | # either the boards need to be altered to have channel0 to an alternate | ||
73 | # configuration or that only one slot can be used. | ||
74 | |||
75 | choice | ||
76 | prompt "SMDK6410 MMC/SD slot setup" | ||
77 | depends on MACH_SMDK6410 | ||
78 | |||
79 | config SMDK6410_SD_CH0 | ||
80 | bool "Use channel 0 only" | ||
81 | depends on MACH_SMDK6410 | ||
82 | help | ||
83 | Select CON7 (channel 0) as the MMC/SD slot, as | ||
84 | at least some SMDK6410 boards come with the | ||
85 | resistors fitted so that the card detects for | ||
86 | channels 0 and 1 are the same. | ||
87 | |||
88 | config SMDK6410_SD_CH1 | ||
89 | bool "Use channel 1 only" | ||
90 | depends on MACH_SMDK6410 | ||
91 | help | ||
92 | Select CON6 (channel 1) as the MMC/SD slot, as | ||
93 | at least some SMDK6410 boards come with the | ||
94 | resistors fitted so that the card detects for | ||
95 | channels 0 and 1 are the same. | ||
96 | |||
97 | endchoice | ||
98 | |||
99 | config SMDK6410_WM1190_EV1 | ||
100 | bool "Support Wolfson Microelectronics 1190-EV1 PMIC card" | ||
101 | depends on MACH_SMDK6410 | ||
102 | select REGULATOR | ||
103 | select REGULATOR_WM8350 | ||
104 | select S3C24XX_GPIO_EXTRA64 | ||
105 | select MFD_WM8350_I2C | ||
106 | select MFD_WM8350_CONFIG_MODE_0 | ||
107 | select MFD_WM8350_CONFIG_MODE_3 | ||
108 | select MFD_WM8352_CONFIG_MODE_0 | ||
109 | help | ||
110 | The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC | ||
111 | and audio daughtercard for the Samsung SMDK6410 reference | ||
112 | platform. Enabling this option will build support for this | ||
113 | module into the kernel. The presence of the module will be | ||
114 | detected at runtime so the the resulting kernel can be used | ||
115 | with or without the 1190-EV1 fitted. | ||
116 | |||
117 | config MACH_NCP | ||
118 | bool "NCP" | ||
119 | select CPU_S3C6410 | ||
120 | select S3C_DEV_I2C1 | ||
121 | select S3C_DEV_HSMMC1 | ||
122 | select S3C64XX_SETUP_I2C1 | ||
123 | help | ||
124 | Machine support for the Samsung NCP | ||
125 | |||
126 | config MACH_HMT | ||
127 | bool "Airgoo HMT" | ||
128 | select CPU_S3C6410 | ||
129 | select S3C_DEV_FB | ||
130 | select S3C_DEV_NAND | ||
131 | select S3C_DEV_USB_HOST | ||
132 | select S3C64XX_SETUP_FB_24BPP | ||
133 | select HAVE_PWM | ||
134 | help | ||
135 | Machine support for the Airgoo HMT | ||