blob: 37a37c013df58f8a81fa11ceef2b02a5cffaa699 [file] [log] [blame]
Hai Pham9046b5f2023-02-28 22:22:03 +01001/* 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 Vasut97a070b2024-02-27 17:05:54 +010012#include <asm/arch/renesas.h>
Hai Pham9046b5f2023-02-28 22:22:03 +010013
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 Pham9046b5f2023-02-28 22:22:03 +010024
25/* Environment setting */
26#define CFG_EXTRA_ENV_SETTINGS \
27 "bootm_size=0x10000000\0"
28
29#endif /* __RCAR_GEN4_COMMON_H */