]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: Support reading the device tree with EFI
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:47:57 +0000 (10:47 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:40 +0000 (18:11 -0500)
commite890e8c4cbeb6b8ed27d48be946ecec03ef267e2
treea037f339ecbb0c521fff56cf65f58690fed3df70
parent7638c85190dccc2dfacb86fc3b70deb165337b4b
bootstd: Support reading the device tree with EFI

With EFI booting the device tree is required but is not actually specified
in any way. The normal method is to use a fdtfile environment variable to
get the filename, then look for that file on the media.

Implement this in the bootmeth.

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