]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
configs: microchip_mpfs_icicle: set DEFAULT_FDT_FILE
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 6 Feb 2025 13:05:03 +0000 (14:05 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 20 Feb 2025 04:18:40 +0000 (12:18 +0800)
Variable $fdtfile needs to be set for automatically loading a device-tree
from the ESP or boot partition.

* Set CONFIG_DEFAULT_FDT_FILE in the defconfig.
* Add $fdtfile to the default environment.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
configs/microchip_mpfs_icicle_defconfig
include/configs/microchip_mpfs_icicle.h

index 5ea6cc371aa93160985f507f41c3e2f31add70ca..f8acaa98672febbdd231da60987b53bc0c8652bf 100644 (file)
@@ -12,6 +12,7 @@ CONFIG_ARCH_RV64I=y
 CONFIG_RISCV_SMODE=y
 CONFIG_FIT=y
 CONFIG_DISTRO_DEFAULTS=y
+CONFIG_DEFAULT_FDT_FILE="microchip/mpfs-icicle-kit.dtb"
 CONFIG_SYS_CBSIZE=256
 CONFIG_SYS_PBSIZE=282
 CONFIG_DISPLAY_CPUINFO=y
index 5ced45b88b2dcb2f9cd93ceb9938342057263d2a..0077f6a5f95b3dab23776bc5a8fe98b4d7ad7576 100644 (file)
@@ -26,6 +26,7 @@
        "scriptaddr=0x88100000\0" \
        "pxefile_addr_r=0x88200000\0" \
        "ramdisk_addr_r=0x88300000\0" \
+       "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \
        BOOTENV
 
 #endif /* __CONFIG_H */