blob: c4f506df62d21d25af9020209a8c8b801d0b8dcf [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
12#include <asm/arch/rmobile.h>
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 */
24#define PHY_ANEG_TIMEOUT 20000
25
26/* Environment setting */
27#define CFG_EXTRA_ENV_SETTINGS \
28 "bootm_size=0x10000000\0"
29
30#endif /* __RCAR_GEN4_COMMON_H */