Ben Dooks | a08ab63 | 2008-10-21 14:06:39 +0100 | [diff] [blame] | 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 |
Ben Dooks | d626aee | 2008-10-21 14:06:50 +0100 | [diff] [blame] | 9 | |
| 10 | config CPU_S3C6410 |
| 11 | bool |
Ben Dooks | aa64ea3 | 2008-10-21 14:06:58 +0100 | [diff] [blame] | 12 | select CPU_S3C6400_INIT |
Ben Dooks | cf18acf | 2008-10-21 14:07:02 +0100 | [diff] [blame] | 13 | select CPU_S3C6400_CLOCK |
Ben Dooks | d626aee | 2008-10-21 14:06:50 +0100 | [diff] [blame] | 14 | help |
| 15 | Enable S3C6410 CPU support |
| 16 | |
Ben Dooks | 5cc7fd8 | 2008-10-31 16:14:38 +0000 | [diff] [blame] | 17 | config S3C6410_SETUP_SDHCI |
| 18 | bool |
Ben Dooks | 4faf6867 | 2009-03-25 11:01:24 +0000 | [diff] [blame^] | 19 | select S3C64XX_SETUP_SDHCI_GPIO |
Ben Dooks | 5cc7fd8 | 2008-10-31 16:14:38 +0000 | [diff] [blame] | 20 | help |
| 21 | Internal helper functions for S3C6410 based SDHCI systems |
| 22 | |
Ben Dooks | 5718df9 | 2008-10-21 14:07:09 +0100 | [diff] [blame] | 23 | config MACH_SMDK6410 |
| 24 | bool "SMDK6410" |
| 25 | select CPU_S3C6410 |
Ben Dooks | 5b323c7 | 2008-10-31 16:14:28 +0000 | [diff] [blame] | 26 | select S3C_DEV_HSMMC |
Ben Dooks | b24636c | 2008-11-03 20:14:53 +0000 | [diff] [blame] | 27 | select S3C_DEV_HSMMC1 |
Ben Dooks | d7ea374 | 2008-10-31 16:14:57 +0000 | [diff] [blame] | 28 | select S3C_DEV_I2C1 |
Ben Dooks | 438a5d4 | 2008-11-19 15:41:34 +0000 | [diff] [blame] | 29 | select S3C_DEV_FB |
Ben Dooks | 98fd63b | 2009-03-06 19:49:49 +0000 | [diff] [blame] | 30 | select S3C_DEV_USB_HOST |
Ben Dooks | 5cc7fd8 | 2008-10-31 16:14:38 +0000 | [diff] [blame] | 31 | select S3C6410_SETUP_SDHCI |
Ben Dooks | d7ea374 | 2008-10-31 16:14:57 +0000 | [diff] [blame] | 32 | select S3C64XX_SETUP_I2C1 |
Ben Dooks | 438a5d4 | 2008-11-19 15:41:34 +0000 | [diff] [blame] | 33 | select S3C64XX_SETUP_FB_24BPP |
Ben Dooks | 5718df9 | 2008-10-21 14:07:09 +0100 | [diff] [blame] | 34 | help |
| 35 | Machine support for the Samsung SMDK6410 |
Ben Dooks | b24636c | 2008-11-03 20:14:53 +0000 | [diff] [blame] | 36 | |
| 37 | # At least some of the SMDK6410s were shipped with the card detect |
| 38 | # for the MMC/SD slots connected to the same input. This means that |
| 39 | # either the boards need to be altered to have channel0 to an alternate |
| 40 | # configuration or that only one slot can be used. |
| 41 | |
| 42 | choice |
| 43 | prompt "SMDK6410 MMC/SD slot setup" |
| 44 | depends on MACH_SMDK6410 |
| 45 | |
| 46 | config SMDK6410_SD_CH0 |
| 47 | bool "Use channel 0 only" |
| 48 | depends on MACH_SMDK6410 |
| 49 | help |
| 50 | Select CON7 (channel 0) as the MMC/SD slot, as |
| 51 | at least some SMDK6410 boards come with the |
| 52 | resistors fitted so that the card detects for |
| 53 | channels 0 and 1 are the same. |
| 54 | |
| 55 | config SMDK6410_SD_CH1 |
| 56 | bool "Use channel 1 only" |
| 57 | depends on MACH_SMDK6410 |
| 58 | help |
| 59 | Select CON6 (channel 1) as the MMC/SD slot, as |
| 60 | at least some SMDK6410 boards come with the |
| 61 | resistors fitted so that the card detects for |
| 62 | channels 0 and 1 are the same. |
| 63 | |
| 64 | endchoice |