]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Basic support for siemens sx1, MMC changes
authorPavel Machek <pavel@suse.cz>
Fri, 17 Nov 2006 23:38:07 +0000 (01:38 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 17 Nov 2006 23:38:07 +0000 (01:38 +0200)
From: Vladimir Ananiev <vovan888@gmail.com>

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 6861cbe884e0b7cdef1fa4aa4d83bd72f6c46bcc..2a73361a3896dc0a357ccf76d09b5a462797a5f9 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
@@ -906,7 +907,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())