sdhci-pic32.h 757 B

12345678910111213141516171819202122
  1. /*
  2. * Purna Chandra Mandal, purna.mandal@microchip.com
  3. * Copyright (C) 2015 Microchip Technology Inc. All rights reserved.
  4. *
  5. * This program is free software; you can distribute it and/or modify it
  6. * under the terms of the GNU General Public License (Version 2) as
  7. * published by the Free Software Foundation.
  8. *
  9. * This program is distributed in the hope it will be useful, but WITHOUT
  10. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  12. * for more details.
  13. */
  14. #ifndef __PIC32_SDHCI_PDATA_H__
  15. #define __PIC32_SDHCI_PDATA_H__
  16. struct pic32_sdhci_platform_data {
  17. /* read & write fifo threshold */
  18. int (*setup_dma)(u32 rfifo, u32 wfifo);
  19. };
  20. #endif