mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00

All identifiers, regardless of use, that start with two underscores are reserved. This means they can't be used in header guards. The style that this project is now to use the full name of the file in capital letters followed by 'H'. For example, for a file called "uart_example.h", the header guard is UART_EXAMPLE_H. The exceptions are files that are imported from other projects: - CryptoCell driver - dt-bindings folders - zlib headers Change-Id: I50561bf6c88b491ec440d0c8385c74650f3c106e Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
40 lines
1.2 KiB
C
40 lines
1.2 KiB
C
/*
|
|
* Copyright (c) 2015-2017, Renesas Electronics Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
/**
|
|
* @file emmc_config.h
|
|
* @brief Configuration file
|
|
*
|
|
*/
|
|
|
|
#ifndef EMMC_CONFIG_H
|
|
#define EMMC_CONFIG_H
|
|
|
|
/* ************************ HEADER (INCLUDE) SECTION *********************** */
|
|
|
|
/* ***************** MACROS, CONSTANTS, COMPILATION FLAGS ****************** */
|
|
|
|
/** @brief MMC driver config
|
|
*/
|
|
#define EMMC_RCA 1UL /* RCA */
|
|
#define EMMC_RW_DATA_TIMEOUT 0x40UL /* 314ms (freq = 400KHz, timeout Counter = 0x04(SDCLK * 2^17) */
|
|
#define EMMC_RETRY_COUNT 0 /* how many times to try after fail. Don't change. */
|
|
#define EMMC_CMD_MAX 60UL /* Don't change. */
|
|
|
|
/** @brief etc
|
|
*/
|
|
#define LOADIMAGE_FLAGS_DMA_ENABLE 0x00000001UL
|
|
|
|
/* ********************** STRUCTURES, TYPE DEFINITIONS ********************* */
|
|
|
|
/* ********************** DECLARATION OF EXTERNAL DATA ********************* */
|
|
|
|
/* ************************** FUNCTION PROTOTYPES ************************** */
|
|
|
|
/* ********************************* CODE ********************************** */
|
|
|
|
#endif /* EMMC_CONFIG_H */
|
|
/* ******************************** END ************************************ */
|