File: emmc_config.h

package info (click to toggle)
arm-trusted-firmware 2.12.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie, trixie-proposed-updates, trixie-updates
  • size: 43,768 kB
  • sloc: ansic: 451,243; asm: 28,729; python: 2,703; makefile: 2,048; javascript: 139; sh: 33
file content (20 lines) | stat: -rw-r--r-- 518 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2015-2020, Renesas Electronics Corporation. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef EMMC_CONFIG_H
#define EMMC_CONFIG_H

/* RCA */
#define EMMC_RCA		1UL
/* 314ms (freq = 400KHz, timeout Counter = 0x04(SDCLK * 2^17)  */
#define EMMC_RW_DATA_TIMEOUT	0x40UL
/* how many times to try after fail. Don't change. */
#define EMMC_RETRY_COUNT	0
#define EMMC_CMD_MAX		60UL	/* Don't change. */

#define LOADIMAGE_FLAGS_DMA_ENABLE	0x00000001UL

#endif /* EMMC_CONFIG_H */