2008-06-30 15:40:29 -06:00
|
|
|
#ifndef _ARCH_MCI_H
|
|
|
|
#define _ARCH_MCI_H
|
|
|
|
|
|
|
|
struct s3c24xx_mci_pdata {
|
2009-10-01 16:44:21 -06:00
|
|
|
unsigned int no_wprotect : 1;
|
|
|
|
unsigned int no_detect : 1;
|
2008-06-30 15:40:30 -06:00
|
|
|
unsigned int wprotect_invert : 1;
|
2008-06-30 15:40:36 -06:00
|
|
|
unsigned int detect_invert : 1; /* set => detect active high. */
|
2009-10-01 16:44:18 -06:00
|
|
|
unsigned int use_dma : 1;
|
2008-06-30 15:40:30 -06:00
|
|
|
|
2008-06-30 15:40:29 -06: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 */
|