]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Basic support for siemens sx1, MMC changes
authorVladimir Ananiev <vovan888@gmail.com>
Fri, 17 Nov 2006 23:38:07 +0000 (01:38 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 25 Jan 2007 22:28:54 +0000 (14:28 -0800)
This adds basic support for Siemens SX1. More patches are available,
with video driver, mixer, and serial ports working. That is enough to
do gsm calls with right userland.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mmc/omap.c

index d30540b2761420cff6bf445f761b8d0b27b34b40..796172a26ca8b8cc94e32d6412db0a52c84f7cde 100644 (file)
@@ -37,6 +37,7 @@
 #include <asm/arch/mux.h>
 #include <asm/arch/fpga.h>
 #include <asm/arch/tps65010.h>
+#include <asm/arch/board-sx1.h>
 
 #define        OMAP_MMC_REG_CMD        0x00
 #define        OMAP_MMC_REG_ARGL       0x04
@@ -907,7 +908,9 @@ static void innovator_fpga_socket_power(int on)
  */
 static void mmc_omap_power(struct mmc_omap_host *host, int on)
 {
-       if (on) {
+       if (machine_is_sx1())
+               sx1_setmmcpower(on);
+       else if (on) {
                if (machine_is_omap_innovator())
                        innovator_fpga_socket_power(1);
                else if (machine_is_omap_h2())