]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
sunxi: use vendor prefix for $fdtfile on RISC-V too
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 15 Apr 2026 21:21:36 +0000 (23:21 +0200)
committerAndre Przywara <andre.przywara@arm.com>
Thu, 30 Apr 2026 21:31:02 +0000 (23:31 +0200)
Once we complete the support for RISC-V Allwinner D1 (sun20i), we will need
to prefix $fdtfile with the vendor prefix to match the Linux device-tree
directory structure.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Acked-by: Andre Przywara <andre.przywara@arm.com>
include/configs/sunxi-common.h

index b29a25d56175e65d3487c64e55fbb8cf43941659..49d5617f028583d7cb3bdbc71a0f0c97fc4c68c7 100644 (file)
        CONSOLE_STDIN_SETTINGS \
        CONSOLE_STDOUT_SETTINGS
 
-#ifdef CONFIG_ARM64
+#if defined(CONFIG_ARM64) || defined(CONFIG_RISCV)
 #define FDTFILE "allwinner/" CONFIG_DEFAULT_DEVICE_TREE ".dtb"
 #else
 #define FDTFILE CONFIG_DEFAULT_DEVICE_TREE ".dtb"