SMDKC100: add SDHCI controllers 0, 1 and 2 support
authorKyungmin Park <kyungmin.park@samsung.com>
Tue, 17 Nov 2009 07:41:24 +0000 (08:41 +0100)
committerBen Dooks <ben-linux@fluff.org>
Tue, 1 Dec 2009 01:33:18 +0000 (01:33 +0000)
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 21b182121945c2d251a0c7a70bfe8d76bc43d3cb..0dd2b8c6eabee521f56253c3e1d99c63005973da 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 844f6bab037289438182a0f742bea7c26fd5edf2..ae3c52cd0ebbcc70d0c955e744ca7efe6c8dfb15 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,
 };