Skip to content
Snippets Groups Projects
Commit 0d9d501f authored by Alexander Graf's avatar Alexander Graf Committed by Tom Rini
Browse files

efi_loader: Use system fdt as fallback


When the user did not pass any device tree or the boot script
didn't find any, let's use the system device tree as last resort
to get something the payload (Linux) may understand.

This means that on systems that use the same device tree for U-Boot
and Linux we can just share it and there's no need to manually provide
a device tree in the target image.

While at it, also copy and pad the device tree by 64kb to give us
space for modifications.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
Tested-by: default avatarAndreas Färber <afaerber@suse.de>
parent 578ec3b1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment