summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJonas Karlman <[email protected]>2025-04-06 00:24:27 +0000
committerKever Yang <[email protected]>2025-04-23 22:12:02 +0800
commit3167636f796d05f992a8b20d4f7714028ee805ec (patch)
tree5800c57fa38e7c2fcf73379ba1b036b76031e23e /include
parentfd753bc2a9cc95afd4e7c3df41c6ab0b8f77cc74 (diff)
rockchip: Use rk3568_common.h by default for RK356x boards
Ensure rk3568_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 rk3568_common.h unless a board target overrides it in its board Kconfig. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/rk3568_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/rk3568_common.h b/include/configs/rk3568_common.h
index a68ca381db5..b2a35db0b94 100644
--- a/include/configs/rk3568_common.h
+++ b/include/configs/rk3568_common.h
@@ -15,6 +15,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" \