blob: 2c430e8d3762249c7bda92d5994cec97e0f18c1a [file] [log] [blame]
Suneel Garapatid9e72462019-10-19 18:47:37 -07001/* SPDX-License-Identifier: GPL-2.0
2 * Copyright (C) 2018 Marvell International Ltd.
3 *
4 * https://spdx.org/licenses
5 */
6
7#ifndef __OCTEONTX2_COMMON_H__
8#define __OCTEONTX2_COMMON_H__
9
Suneel Garapatid9e72462019-10-19 18:47:37 -070010/** Maximum size of image supported for bootm (and bootable FIT images) */
Suneel Garapatid9e72462019-10-19 18:47:37 -070011
12/** Memory base address */
13#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_TEXT_BASE
14
15/** Stack starting address */
Suneel Garapatid9e72462019-10-19 18:47:37 -070016
Suneel Garapatid9e72462019-10-19 18:47:37 -070017/** Extra environment settings */
18#define CONFIG_EXTRA_ENV_SETTINGS \
19 "loadaddr=20080000\0" \
Tom Rini065d6612022-06-13 22:57:35 -040020 "ethrotate=yes\0"
Suneel Garapatid9e72462019-10-19 18:47:37 -070021
Suneel Garapatid9e72462019-10-19 18:47:37 -070022#define CONFIG_SYS_MMC_MAX_BLK_COUNT 8192
23
Suneel Garapatid9e72462019-10-19 18:47:37 -070024#if defined(CONFIG_MMC_OCTEONTX)
25#define MMC_SUPPORTS_TUNING
26/** EMMC specific defines */
Suneel Garapatid9e72462019-10-19 18:47:37 -070027#endif
28
29#endif /* __OCTEONTX2_COMMON_H__ */