mirror of
https://github.com/smaeul/u-boot.git
synced 2025-09-11 20:46:00 +01:00
Align R-Car Gen2/Gen3/Gen4 configuration header file to look basically the same way across these three SoC generations. There are subtle difference between the remaining bits in those files across SoC generations, but the common bits are now aligned. There is not much left in those headers either, most of the configuration is now converted to Kconfig. Specifically for R-Car Gen3, GIC registers have been moved to architecture specific header file rcar-gen3-base.h , the rest of the changes here are comment changes and indentation changes. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
28 lines
718 B
C
28 lines
718 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* include/configs/rcar-gen4-common.h
|
|
* This file is R-Car Gen4 common configuration file.
|
|
*
|
|
* Copyright (C) 2021-2024 Renesas Electronics Corporation
|
|
*/
|
|
|
|
#ifndef __RCAR_GEN4_COMMON_H
|
|
#define __RCAR_GEN4_COMMON_H
|
|
|
|
#include <asm/arch/renesas.h>
|
|
|
|
/* Console */
|
|
#define CFG_SYS_BAUDRATE_TABLE { 38400, 115200, 921600, 1843200 }
|
|
|
|
/* Memory */
|
|
#define DRAM_RSV_SIZE 0x08000000
|
|
#define CFG_SYS_SDRAM_BASE (0x40000000 + DRAM_RSV_SIZE)
|
|
#define CFG_SYS_SDRAM_SIZE (0x80000000u - DRAM_RSV_SIZE)
|
|
#define CFG_MAX_MEM_MAPPED (0x80000000u - DRAM_RSV_SIZE)
|
|
|
|
/* Environment setting */
|
|
#define CFG_EXTRA_ENV_SETTINGS \
|
|
"bootm_size=0x10000000\0"
|
|
|
|
#endif /* __RCAR_GEN4_COMMON_H */
|