1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * include/configs/rcar-gen4-common.h
4 * This file is R-Car Gen4 common configuration file.
6 * Copyright (C) 2021 Renesas Electronics Corporation
9 #ifndef __RCAR_GEN4_COMMON_H
10 #define __RCAR_GEN4_COMMON_H
12 #include <asm/arch/rmobile.h>
15 #define CFG_SYS_BAUDRATE_TABLE { 38400, 115200, 921600, 1843200 }
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)
23 /* PHY needs a longer autoneg timeout */
24 #define PHY_ANEG_TIMEOUT 20000
26 /* Environment setting */
27 #define CFG_EXTRA_ENV_SETTINGS \
28 "bootm_size=0x10000000\0"
30 #endif /* __RCAR_GEN4_COMMON_H */