efi_loader: load distro dtb in bootmgr
If no device-tree is specified, try to load a device-tree from the boot device use the $fdtfile concatenated to either of the paths '/dtb/', '/', '/dtb/current/'. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
@@ -1205,4 +1205,6 @@ efi_status_t efi_load_option_dp_join(struct efi_device_path **dp,
|
||||
|
||||
int efi_get_distro_fdt_name(char *fname, int size, int seq);
|
||||
|
||||
void efi_load_distro_fdt(void **fdt, efi_uintn_t *fdt_size);
|
||||
|
||||
#endif /* _EFI_LOADER_H */
|
||||
|
Reference in New Issue
Block a user