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) */ |
| 11 | #define CONFIG_SYS_BOOTM_LEN (256 << 20) |
| 12 | |
| 13 | /** Memory base address */ |
| 14 | #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_TEXT_BASE |
| 15 | |
| 16 | /** Stack starting address */ |
Suneel Garapati | 0a668f6 | 2019-10-19 18:47:37 -0700 | [diff] [blame] | 17 | |
Suneel Garapati | 0a668f6 | 2019-10-19 18:47:37 -0700 | [diff] [blame] | 18 | /** Extra environment settings */ |
| 19 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 20 | "loadaddr=20080000\0" \ |
Tom Rini | bf904ea | 2022-06-13 22:57:35 -0400 | [diff] [blame] | 21 | "ethrotate=yes\0" |
Suneel Garapati | 0a668f6 | 2019-10-19 18:47:37 -0700 | [diff] [blame] | 22 | |
Suneel Garapati | 0a668f6 | 2019-10-19 18:47:37 -0700 | [diff] [blame] | 23 | #define CONFIG_SYS_MMC_MAX_BLK_COUNT 8192 |
| 24 | |
Suneel Garapati | 0a668f6 | 2019-10-19 18:47:37 -0700 | [diff] [blame] | 25 | #if defined(CONFIG_MMC_OCTEONTX) |
| 26 | #define MMC_SUPPORTS_TUNING |
| 27 | /** EMMC specific defines */ |
Suneel Garapati | 0a668f6 | 2019-10-19 18:47:37 -0700 | [diff] [blame] | 28 | #endif |
| 29 | |
| 30 | #endif /* __OCTEONTX2_COMMON_H__ */ |