blob: c4db38562d831ddcd7a5328b2ea2083f840282f9 [file] [log] [blame]
Suneel Garapati0a668f62019-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 Garapati0a668f62019-10-19 18:47:37 -070010/** Maximum size of image supported for bootm (and bootable FIT images) */
Suneel Garapati0a668f62019-10-19 18:47:37 -070011
12/** Memory base address */
Tom Riniaa6e94d2022-11-16 13:10:37 -050013#define CFG_SYS_SDRAM_BASE CONFIG_TEXT_BASE
Suneel Garapati0a668f62019-10-19 18:47:37 -070014
15/** Stack starting address */
Suneel Garapati0a668f62019-10-19 18:47:37 -070016
Suneel Garapati0a668f62019-10-19 18:47:37 -070017/** Extra environment settings */
Tom Rini0613c362022-12-04 10:03:50 -050018#define CFG_EXTRA_ENV_SETTINGS \
Suneel Garapati0a668f62019-10-19 18:47:37 -070019 "loadaddr=20080000\0" \
Tom Rinibf904ea2022-06-13 22:57:35 -040020 "ethrotate=yes\0"
Suneel Garapati0a668f62019-10-19 18:47:37 -070021
Suneel Garapati0a668f62019-10-19 18:47:37 -070022#if defined(CONFIG_MMC_OCTEONTX)
23#define MMC_SUPPORTS_TUNING
24/** EMMC specific defines */
Suneel Garapati0a668f62019-10-19 18:47:37 -070025#endif
26
27#endif /* __OCTEONTX2_COMMON_H__ */