SMDKC100: add SDHCI controllers 0, 1 and 2 support
Kyungmin Park [Tue, 17 Nov 2009 07:41:24 +0000 (08:41 +0100)]
Add required machine definitions for SDHCI controller 0, 1 and 2. SMDKC100
has 2 SDHCI/MMC ports. Port 1 is directly connected to controller 0. Port
1 can be conntected to controler 1 or 2, depending on jumper setup.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>

arch/arm/mach-s5pc100/Kconfig
arch/arm/mach-s5pc100/mach-smdkc100.c

index 21b1821..0dd2b8c 100644 (file)
@@ -25,8 +25,12 @@ config MACH_SMDKC100
        select CPU_S5PC100
        select S3C_DEV_FB
        select S3C_DEV_I2C1
+       select S3C_DEV_HSMMC
+       select S3C_DEV_HSMMC1
+       select S3C_DEV_HSMMC2
        select S5PC1XX_SETUP_I2C0
        select S5PC1XX_SETUP_I2C1
        select S5PC1XX_SETUP_FB_24BPP
+       select S5PC100_SETUP_SDHCI
        help
          Machine support for the Samsung SMDKC100
index 844f6ba..ae3c52c 100644 (file)
@@ -147,6 +147,9 @@ static struct platform_device *smdkc100_devices[] __initdata = {
        &s3c_device_i2c0,
        &s3c_device_i2c1,
        &s3c_device_fb,
+       &s3c_device_hsmmc0,
+       &s3c_device_hsmmc1,
+       &s3c_device_hsmmc2,
        &smdkc100_lcd_powerdev,
 };