From 0992c6690314d4eeb818e0c113e0bd2deeea8f53 Mon Sep 17 00:00:00 2001 From: Jonas Karlman Date: Sun, 6 Apr 2025 00:24:28 +0000 Subject: rockchip: Use rk3588_common.h by default for RK3588 boards Ensure rk3588_common.h can be used by boards directly by defining a blank ROCKCHIP_DEVICE_SETTINGS unless it already is defined. Add a default SYS_CONFIG_NAME to include rk3588_common.h unless a board target overrides it in its board Kconfig. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang --- include/configs/rk3588_common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/configs/rk3588_common.h b/include/configs/rk3588_common.h index 7b02560971a..2f0d40deb64 100644 --- a/include/configs/rk3588_common.h +++ b/include/configs/rk3588_common.h @@ -14,6 +14,10 @@ #define CFG_SYS_SDRAM_BASE 0 #define SDRAM_MAX_SIZE 0xf0000000 +#ifndef ROCKCHIP_DEVICE_SETTINGS +#define ROCKCHIP_DEVICE_SETTINGS +#endif + #define ENV_MEM_LAYOUT_SETTINGS \ "scriptaddr=0x00c00000\0" \ "script_offset_f=0xffe000\0" \ -- cgit v1.2.3