From ee54c2554f0e6fbdd9f3d6f14af1330d44922c27 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Sat, 18 Nov 2006 01:38:07 +0200 Subject: [PATCH] ARM: OMAP: Basic support for siemens sx1, MMC changes From: Vladimir Ananiev 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 Signed-off-by: Tony Lindgren --- drivers/mmc/omap.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/omap.c b/drivers/mmc/omap.c index 6861cbe884e..2a73361a389 100644 --- a/drivers/mmc/omap.c +++ b/drivers/mmc/omap.c @@ -37,6 +37,7 @@ #include #include #include +#include #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()) -- 2.41.1