diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-06-30 17:40:29 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-07-15 08:14:47 -0400 |
commit | edb5a98e43682d66c98ddd1dee863d867807546e (patch) | |
tree | 32e64ccbb3669e8dfb1245de581948387567addc /include/asm-arm | |
parent | d643b5f7e0793ef7828a35a5ea049d675ad2ad8c (diff) |
MMC: S3C24XX: Add platform data for MMC/SD driver
This patch adds platform data support to the s3mci driver. This allows
flexible board-specific configuration of set_power, card detect and read only
pins.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/plat-s3c24xx/mci.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-arm/plat-s3c24xx/mci.h b/include/asm-arm/plat-s3c24xx/mci.h new file mode 100644 index 000000000000..5be2c1449c6d --- /dev/null +++ b/include/asm-arm/plat-s3c24xx/mci.h | |||
@@ -0,0 +1,12 @@ | |||
1 | #ifndef _ARCH_MCI_H | ||
2 | #define _ARCH_MCI_H | ||
3 | |||
4 | struct s3c24xx_mci_pdata { | ||
5 | unsigned int gpio_detect; | ||
6 | unsigned int gpio_wprotect; | ||
7 | unsigned long ocr_avail; | ||
8 | void (*set_power)(unsigned char power_mode, | ||
9 | unsigned short vdd); | ||
10 | }; | ||
11 | |||
12 | #endif /* _ARCH_NCI_H */ | ||