Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Rob Clark's avatar
    95c5553e
    efi_loader: refactor boot device and loaded_image handling · 95c5553e
    Rob Clark authored
    
    Get rid of the hacky fake boot-device and duplicate device-path
    constructing (which needs to match what efi_disk and efi_net do).
    Instead convert over to use efi_device_path helpers to construct
    device-paths, and use that to look up the actual boot device.
    
    Also, extract out a helper to plug things in properly to the
    loaded_image.  In a following patch we'll want to re-use this in
    efi_load_image() to handle the case of loading an image from a
    file_path.
    
    Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    95c5553e
    History
    efi_loader: refactor boot device and loaded_image handling
    Rob Clark authored
    
    Get rid of the hacky fake boot-device and duplicate device-path
    constructing (which needs to match what efi_disk and efi_net do).
    Instead convert over to use efi_device_path helpers to construct
    device-paths, and use that to look up the actual boot device.
    
    Also, extract out a helper to plug things in properly to the
    loaded_image.  In a following patch we'll want to re-use this in
    efi_load_image() to handle the case of loading an image from a
    file_path.
    
    Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>