riscv: dts: add OF_LIST handling to binman.dtsi

Binman can automatically generate device-tree and configuration entries in
the FIT image based on CONFIG_MULTI_DTB_FIT if the binman node includes the
right sub-nodes.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: E Shattow <e@freeshell.de>
This commit is contained in:
Heinrich Schuchardt 2025-02-21 10:58:53 +01:00 committed by Leo Yu-Chi Liang
parent 2fb72968ce
commit 70000885ee

View File

@ -82,8 +82,9 @@
};
};
#ifndef CONFIG_OF_BOARD
#if !defined(CONFIG_OF_BOARD) || defined(CONFIG_MULTI_DTB_FIT)
@fdt-SEQ {
fit,operation = "gen-fdt-nodes";
description = "NAME";
type = "flat_dt";
compression = "none";
@ -94,7 +95,7 @@
configurations {
default = "conf-1";
#ifndef CONFIG_OF_BOARD
#if !defined(CONFIG_OF_BOARD) || defined(CONFIG_MULTI_DTB_FIT)
@conf-SEQ {
#else
conf-1 {
@ -115,7 +116,7 @@
#endif
#endif /* CONFIG_OPTEE */
#ifndef CONFIG_OF_BOARD
#if !defined(CONFIG_OF_BOARD) || defined(CONFIG_MULTI_DTB_FIT)
fdt = "fdt-SEQ";
#endif
};