Commit | Line | Data |
---|---|---|
a08ab637 BD |
1 | # arch/arm/mach-s3c6410/Kconfig |
2 | # | |
3 | # Copyright 2008 Openmoko, Inc. | |
4 | # Copyright 2008 Simtec Electronics | |
5 | # | |
6 | # Licensed under GPLv2 | |
7 | ||
8 | # Configuration options for the S3C6410 CPU | |
d626aeed BD |
9 | |
10 | config CPU_S3C6410 | |
11 | bool | |
aa64ea3f | 12 | select CPU_S3C6400_INIT |
cf18acf0 | 13 | select CPU_S3C6400_CLOCK |
d626aeed BD |
14 | help |
15 | Enable S3C6410 CPU support | |
16 | ||
5cc7fd88 BD |
17 | config S3C6410_SETUP_SDHCI |
18 | bool | |
19 | help | |
20 | Internal helper functions for S3C6410 based SDHCI systems | |
21 | ||
5718df9d BD |
22 | config MACH_SMDK6410 |
23 | bool "SMDK6410" | |
24 | select CPU_S3C6410 | |
5b323c7b | 25 | select S3C_DEV_HSMMC |
b24636cf | 26 | select S3C_DEV_HSMMC1 |
d7ea3743 | 27 | select S3C_DEV_I2C1 |
5cc7fd88 | 28 | select S3C6410_SETUP_SDHCI |
d7ea3743 | 29 | select S3C64XX_SETUP_I2C1 |
5718df9d BD |
30 | help |
31 | Machine support for the Samsung SMDK6410 | |
b24636cf BD |
32 | |
33 | # At least some of the SMDK6410s were shipped with the card detect | |
34 | # for the MMC/SD slots connected to the same input. This means that | |
35 | # either the boards need to be altered to have channel0 to an alternate | |
36 | # configuration or that only one slot can be used. | |
37 | ||
38 | choice | |
39 | prompt "SMDK6410 MMC/SD slot setup" | |
40 | depends on MACH_SMDK6410 | |
41 | ||
42 | config SMDK6410_SD_CH0 | |
43 | bool "Use channel 0 only" | |
44 | depends on MACH_SMDK6410 | |
45 | help | |
46 | Select CON7 (channel 0) as the MMC/SD slot, as | |
47 | at least some SMDK6410 boards come with the | |
48 | resistors fitted so that the card detects for | |
49 | channels 0 and 1 are the same. | |
50 | ||
51 | config SMDK6410_SD_CH1 | |
52 | bool "Use channel 1 only" | |
53 | depends on MACH_SMDK6410 | |
54 | help | |
55 | Select CON6 (channel 1) as the MMC/SD slot, as | |
56 | at least some SMDK6410 boards come with the | |
57 | resistors fitted so that the card detects for | |
58 | channels 0 and 1 are the same. | |
59 | ||
60 | endchoice |