Hai Pham | 9046b5f | 2023-02-28 22:22:03 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * include/configs/rcar-gen4-common.h |
| 4 | * This file is R-Car Gen4 common configuration file. |
| 5 | * |
| 6 | * Copyright (C) 2021 Renesas Electronics Corporation |
| 7 | */ |
| 8 | |
| 9 | #ifndef __RCAR_GEN4_COMMON_H |
| 10 | #define __RCAR_GEN4_COMMON_H |
| 11 | |
Marek Vasut | 97a070b | 2024-02-27 17:05:54 +0100 | [diff] [blame] | 12 | #include <asm/arch/renesas.h> |
Hai Pham | 9046b5f | 2023-02-28 22:22:03 +0100 | [diff] [blame] | 13 | |
| 14 | /* Console */ |
| 15 | #define CFG_SYS_BAUDRATE_TABLE { 38400, 115200, 921600, 1843200 } |
| 16 | |
| 17 | /* Memory */ |
| 18 | #define DRAM_RSV_SIZE 0x08000000 |
| 19 | #define CFG_SYS_SDRAM_BASE (0x40000000 + DRAM_RSV_SIZE) |
| 20 | #define CFG_SYS_SDRAM_SIZE (0x80000000u - DRAM_RSV_SIZE) |
| 21 | #define CFG_MAX_MEM_MAPPED (0x80000000u - DRAM_RSV_SIZE) |
| 22 | |
| 23 | /* PHY needs a longer autoneg timeout */ |
Hai Pham | 9046b5f | 2023-02-28 22:22:03 +0100 | [diff] [blame] | 24 | |
| 25 | /* Environment setting */ |
| 26 | #define CFG_EXTRA_ENV_SETTINGS \ |
| 27 | "bootm_size=0x10000000\0" |
| 28 | |
| 29 | #endif /* __RCAR_GEN4_COMMON_H */ |