]> git.baikalelectronics.ru Git - uboot.git/commit
bootstd: Replicate the dtb-filename quirks of distroboot
authorSimon Glass <sjg@chromium.org>
Wed, 22 Feb 2023 19:17:04 +0000 (12:17 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 8 Mar 2023 19:40:49 +0000 (11:40 -0800)
commit99a399aa045d94c40438093ceb41e2a1803ddc3f
treee68de28980fa5672afed9428bd13e9454b88a811
parentaf67531bcdf3e3b6ec8398c57ffe524a7ee75a6d
bootstd: Replicate the dtb-filename quirks of distroboot

For EFI, the distro boot scripts search in three different directories
for the .dtb file. The SOC-based filename fallback is supported only for
32-bit ARM.

Adjust the code to mirror this behaviour.

Also some boards can use a prior-stage FDT if one is not found in the
normal way. Support this and show a message in that case.

Signed-off-by: Simon Glass <sjg@chromium.org>
Suggested-by: Mark Kettenis <kettenis@openbsd.org>
boot/bootflow.c
boot/bootmeth_efi.c
include/bootflow.h