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