]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
riscv: dts: no default configuration for MULTI_DTB_FIT
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 21 Feb 2025 09:58:54 +0000 (10:58 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 25 Mar 2025 08:25:31 +0000 (16:25 +0800)
JH7110 boards are currently the only use case for multi DTB FIT images
on RISC-V.

Booting JH7110 systems with a VisionFive 2 device-tree used to kind of
work without causing harm to the hardware. But there is no guarantee
that this will hold true in future. So we should not rely on it.

Before the current patch series booting failed on unsupported boards due
to the lack of a device-tree in the binman generated default configuration
when reaching main U-Boot.

By not setting a default configuration booting will now fail on
unsupported boards already in SPL. This allows SPL to
continue with the next boot source for a possible recovery.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: E Shattow <e@freeshell.de>
arch/riscv/dts/binman.dtsi

index 782ef037f7a972d73a6c9ee1b6041a10696289e8..ceb916b74a7391a65da3cf7f2d85fd8f3a366246 100644 (file)
                        };
 
                        configurations {
+
+#ifndef CONFIG_MULTI_DTB_FIT
                                default = "conf-1";
+#endif
 
 #if !defined(CONFIG_OF_BOARD) || defined(CONFIG_MULTI_DTB_FIT)
                                @conf-SEQ {