]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdt: Don't overwrite bloblist devicetree
authorSimon Glass <sjg@chromium.org>
Wed, 7 Aug 2024 22:47:22 +0000 (16:47 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 9 Aug 2024 22:03:19 +0000 (16:03 -0600)
commit9767c668a5332739ed5da434cbd12c70a5454730
treeb2cf6425b7117a77a552888d75e7bf00fc99eca6
parent615d84b6ce0cf51363292ca527644d820aa0a813
fdt: Don't overwrite bloblist devicetree

When the devicetree comes from a bloblist, it is currently overwritten
by the appended one, if present. It should be preserved.

Adjust the logic to support this.

Fixes: 70fe2385943 ("fdt: Allow the devicetree to come from a bloblist")
Signed-off-by: Simon Glass <sjg@chromium.org>
lib/fdtdec.c