2008-07-01 05:40:29 +08:00
|
|
|
#ifndef _ARCH_MCI_H
|
|
|
|
#define _ARCH_MCI_H
|
|
|
|
|
|
|
|
struct s3c24xx_mci_pdata {
|
2009-10-02 06:44:21 +08:00
|
|
|
unsigned int no_wprotect : 1;
|
|
|
|
unsigned int no_detect : 1;
|
2008-07-01 05:40:30 +08:00
|
|
|
unsigned int wprotect_invert : 1;
|
2008-07-01 05:40:36 +08:00
|
|
|
unsigned int detect_invert : 1; /* set => detect active high. */
|
2009-10-02 06:44:18 +08:00
|
|
|
unsigned int use_dma : 1;
|
2008-07-01 05:40:30 +08:00
|
|
|
|
2008-07-01 05:40:29 +08:00
|
|
|
unsigned int gpio_detect;
|
|
|
|
unsigned int gpio_wprotect;
|
|
|
|
unsigned long ocr_avail;
|
|
|
|
void (*set_power)(unsigned char power_mode,
|
|
|
|
unsigned short vdd);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _ARCH_NCI_H */
|