summaryrefslogtreecommitdiffstats
path: root/include/asm-arm
diff options
context:
space:
mode:
authorCarlos Eduardo Aguiar <carlos.aguiar@indt.org.br>2007-11-30 06:52:53 +0100
committerTony Lindgren <tony@atomide.com>2008-02-08 19:38:01 +0100
commit087c50302fbd608118e7c0f27a95dc552ad2f53b (patch)
tree1394a3bed4a977baab3cad9378f1497698435fc6 /include/asm-arm
parentARM: OMAP1: Make omap1 use MMC multislot structures (diff)
downloadlinux-087c50302fbd608118e7c0f27a95dc552ad2f53b.tar.xz
linux-087c50302fbd608118e7c0f27a95dc552ad2f53b.zip
ARM: OMAP1: Use MMC multislot structures for Siemens SX1 board
Use MMC multislot structures for Siemens SX1 board Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/asm-arm')
-rw-r--r--include/asm-arm/arch-omap/board-sx1.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/asm-arm/arch-omap/board-sx1.h b/include/asm-arm/arch-omap/board-sx1.h
index 2bb8dd6e2d14..355adbdaae33 100644
--- a/include/asm-arm/arch-omap/board-sx1.h
+++ b/include/asm-arm/arch-omap/board-sx1.h
@@ -41,6 +41,12 @@ int sx1_getkeylight(u8 *keylight);
int sx1_setmmipower(u8 onoff);
int sx1_setusbpower(u8 onoff);
-int sx1_setmmcpower(u8 onoff);
+int sx1_i2c_read_byte(u8 devaddr, u8 regoffset, u8 *value);
+int sx1_i2c_write_byte(u8 devaddr, u8 regoffset, u8 value);
+
+/* MMC prototypes */
+
+extern void sx1_mmc_init(void);
+extern void sx1_mmc_slot_cover_handler(void *arg, int state);
#endif /* __ASM_ARCH_SX1_I2C_CHIPS_H */