mmc.h 521 B

123456789101112131415161718
  1. /*
  2. * Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. #ifndef __MACH_MXS_MMC_H__
  9. #define __MACH_MXS_MMC_H__
  10. struct mxs_mmc_platform_data {
  11. int wp_gpio; /* write protect pin */
  12. unsigned int flags;
  13. #define SLOTF_4_BIT_CAPABLE (1 << 0)
  14. #define SLOTF_8_BIT_CAPABLE (1 << 1)
  15. };
  16. #endif /* __MACH_MXS_MMC_H__ */