]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
starfive: visionfive2: add device tree overlay support
authorJohn Clark <inindev@gmail.com>
Mon, 20 Nov 2023 02:35:31 +0000 (02:35 +0000)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 6 Dec 2023 08:05:39 +0000 (16:05 +0800)
device tree overlay support requires fdtoverlay_addr_r to be set

before
~~~~~~
Invalid fdtoverlay_addr_r for loading overlays

after
~~~~~
Retrieving file: /boot/overlay/rtc-ds3231.dtbo

Signed-off-by: John Clark <inindev@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
include/configs/starfive-visionfive2.h

index ff43113f2439e8684799331c566949c1ceff24f9..29c74470c71bd4cb6b98092fe01d5ddbc52670aa 100644 (file)
@@ -40,6 +40,7 @@
        "kernel_comp_addr_r=0x88000000\0" \
        "kernel_comp_size=0x4000000\0" \
        "fdt_addr_r=0x46000000\0" \
+       "fdtoverlay_addr_r=0x45800000\0" \
        "scriptaddr=0x43900000\0" \
        "pxefile_addr_r=0x45900000\0" \
        "ramdisk_addr_r=0x46100000\0" \