blob: 16dcea199c5f9c62cb7aeb791b8b978a4a846a79 [file] [log] [blame]
Jorge Ramirez-Ortiz766263c2018-09-23 09:39:56 +02001/*
2 * Copyright (c) 2015-2017, Renesas Electronics Corporation. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7/**
8 * @file emmc_config.h
9 * @brief Configuration file
10 *
11 */
12
13#ifndef __EMMC_CONFIG_H__
14#define __EMMC_CONFIG_H__
15
16/* ************************ HEADER (INCLUDE) SECTION *********************** */
17
18/* ***************** MACROS, CONSTANTS, COMPILATION FLAGS ****************** */
19
20/** @brief MMC driver config
21 */
22#define EMMC_RCA 1UL /* RCA */
23#define EMMC_RW_DATA_TIMEOUT 0x40UL /* 314ms (freq = 400KHz, timeout Counter = 0x04(SDCLK * 2^17) */
24#define EMMC_RETRY_COUNT 0 /* how many times to try after fail. Don't change. */
25#define EMMC_CMD_MAX 60UL /* Don't change. */
26
27/** @brief etc
28 */
29#define LOADIMAGE_FLAGS_DMA_ENABLE 0x00000001UL
30
31/* ********************** STRUCTURES, TYPE DEFINITIONS ********************* */
32
33/* ********************** DECLARATION OF EXTERNAL DATA ********************* */
34
35/* ************************** FUNCTION PROTOTYPES ************************** */
36
37/* ********************************* CODE ********************************** */
38
39#endif /* #ifndef __EMMC_CONFIG_H__ */
40/* ******************************** END ************************************ */