]> git.baikalelectronics.ru Git - uboot.git/commit
boot: Pass the correct FDT to the EVT_FT_FIXUP event
authorSimon Glass <sjg@chromium.org>
Tue, 11 Oct 2022 15:47:15 +0000 (09:47 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Oct 2022 03:17:13 +0000 (21:17 -0600)
commit5d84b1914c59f227ccf5ff8f9551c73c9eb33d59
tree7472327c1a61f45e29ce7952d5a770354919aa15
parent04ba21629f0f19311ff675d82df4d3dd184d864e
boot: Pass the correct FDT to the EVT_FT_FIXUP event

Now that we support multiple device trees with the ofnode interface, we
can pass the correct FDT to this event. This allows the 'working' FDT to
be fixed up, as expected, so long as OFNODE_MULTI_TREE is enabled.

Also make sure we don't try to do this with livetree, which does not
support fixups yet.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/image-fdt.c