mmci.h 846 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #ifndef _INCLUDE_CFG_MMCI_H_
  2. #define _INCLUDE_CFG_MMCI_H_
  3. /*
  4. * Do not edit! Automatically generated on Thu Feb 4 13:47:09 2016
  5. */
  6. #ifndef MMC_BLOCK_SIZE
  7. #define MMC_BLOCK_SIZE 512
  8. #endif
  9. #ifndef MMC_MAX_INIT_POLLS
  10. #define MMC_MAX_INIT_POLLS 512
  11. #endif
  12. #ifndef MMC_MAX_RESET_POLLS
  13. #define MMC_MAX_RESET_POLLS 255
  14. #endif
  15. #ifndef MMC_MAX_WRITE_POLLS
  16. #define MMC_MAX_WRITE_POLLS 1024
  17. #endif
  18. #ifndef MMC_MAX_WRITE_RETRIES
  19. #define MMC_MAX_WRITE_RETRIES 32
  20. #endif
  21. #ifndef MMC_MAX_READ_RETRIES
  22. #define MMC_MAX_READ_RETRIES 8
  23. #endif
  24. #ifndef MMC_MAX_REG_POLLS
  25. #define MMC_MAX_REG_POLLS 512
  26. #endif
  27. #ifndef MMC_MAX_CMDACK_POLLS
  28. #define MMC_MAX_CMDACK_POLLS 1024
  29. #endif
  30. #ifndef SPI_MMC_CLK
  31. #define SPI_MMC_CLK 33000000
  32. #endif
  33. #ifndef SPI_MMC_CS
  34. #define SPI_MMC_CS 0
  35. #endif
  36. #ifndef MMC_MAX_R1_POLLS
  37. #define MMC_MAX_R1_POLLS 1024
  38. #endif
  39. #endif