emmc_config.h 518 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) 2015-2020, Renesas Electronics Corporation. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef EMMC_CONFIG_H
  7. #define EMMC_CONFIG_H
  8. /* RCA */
  9. #define EMMC_RCA 1UL
  10. /* 314ms (freq = 400KHz, timeout Counter = 0x04(SDCLK * 2^17) */
  11. #define EMMC_RW_DATA_TIMEOUT 0x40UL
  12. /* how many times to try after fail. Don't change. */
  13. #define EMMC_RETRY_COUNT 0
  14. #define EMMC_CMD_MAX 60UL /* Don't change. */
  15. #define LOADIMAGE_FLAGS_DMA_ENABLE 0x00000001UL
  16. #endif /* EMMC_CONFIG_H */