Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
15206 commits behind the upstream repository.
  • Alexander Graf's avatar
    0d9d501f
    efi_loader: Use system fdt as fallback · 0d9d501f
    Alexander Graf authored
    
    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>
    0d9d501f
    History
    efi_loader: Use system fdt as fallback
    Alexander Graf authored
    
    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>
bootefi.c 6.98 KiB