2010-10-11 17:55:21 +07:00
|
|
|
/*
|
|
|
|
* Copyright 2010 Wolfram Sang <w.sang@pengutronix.de>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; version 2
|
|
|
|
* of the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_ARCH_IMX_ESDHC_H
|
|
|
|
#define __ASM_ARCH_IMX_ESDHC_H
|
|
|
|
|
2011-02-26 20:44:39 +07:00
|
|
|
/**
|
|
|
|
* struct esdhc_platform_data - optional platform data for esdhc on i.MX
|
|
|
|
*
|
|
|
|
* strongly recommended for i.MX25/35, not needed for other variants
|
|
|
|
*
|
|
|
|
* @wp_gpio: gpio for write_protect (-EINVAL if unused)
|
|
|
|
*/
|
|
|
|
|
2010-10-11 17:55:21 +07:00
|
|
|
struct esdhc_platform_data {
|
2011-02-26 20:44:39 +07:00
|
|
|
unsigned int wp_gpio;
|
2010-10-11 17:55:21 +07:00
|
|
|
};
|
|
|
|
#endif /* __ASM_ARCH_IMX_ESDHC_H */
|