Suneel Garapati | 0a668f6 | 2019-10-19 18:47:37 -0700 | [diff] [blame] | 1 | /* 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 Garapati | 0a668f6 | 2019-10-19 18:47:37 -0700 | [diff] [blame] | 10 | /** Maximum size of image supported for bootm (and bootable FIT images) */ |
Suneel Garapati | 0a668f6 | 2019-10-19 18:47:37 -0700 | [diff] [blame] | 11 | |
| 12 | /** Memory base address */ |
Tom Rini | aa6e94d | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 13 | #define CFG_SYS_SDRAM_BASE CONFIG_TEXT_BASE |
Suneel Garapati | 0a668f6 | 2019-10-19 18:47:37 -0700 | [diff] [blame] | 14 | |
| 15 | /** Stack starting address */ |
Suneel Garapati | 0a668f6 | 2019-10-19 18:47:37 -0700 | [diff] [blame] | 16 | |
Suneel Garapati | 0a668f6 | 2019-10-19 18:47:37 -0700 | [diff] [blame] | 17 | /** Extra environment settings */ |
Tom Rini | 0613c36 | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 18 | #define CFG_EXTRA_ENV_SETTINGS \ |
Suneel Garapati | 0a668f6 | 2019-10-19 18:47:37 -0700 | [diff] [blame] | 19 | "loadaddr=20080000\0" \ |
Tom Rini | bf904ea | 2022-06-13 22:57:35 -0400 | [diff] [blame] | 20 | "ethrotate=yes\0" |
Suneel Garapati | 0a668f6 | 2019-10-19 18:47:37 -0700 | [diff] [blame] | 21 | |
Suneel Garapati | 0a668f6 | 2019-10-19 18:47:37 -0700 | [diff] [blame] | 22 | #if defined(CONFIG_MMC_OCTEONTX) |
| 23 | #define MMC_SUPPORTS_TUNING |
| 24 | /** EMMC specific defines */ |
Suneel Garapati | 0a668f6 | 2019-10-19 18:47:37 -0700 | [diff] [blame] | 25 | #endif |
| 26 | |
| 27 | #endif /* __OCTEONTX2_COMMON_H__ */ |