Skip to content
Snippets Groups Projects
  • Simon Glass's avatar
    bc06aa03
    bootstd: Allow bootmeths to be marked as global · bc06aa03
    Simon Glass authored and Tom Rini's avatar Tom Rini committed
    
    The current way of handling things like EFI bootmgr is a bit odd, since
    that bootmeth handles selection of the bootdev itself. VBE needs to work
    the same way, so we should support it properly.
    
    Add a flag that indicates that the bootmeth is global, rather than being
    invoked on each bootdev. Provide a helper to read a bootflow from the
    bootmeth.
    
    Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
    bc06aa03
    History
    bootstd: Allow bootmeths to be marked as global
    Simon Glass authored and Tom Rini's avatar Tom Rini committed
    
    The current way of handling things like EFI bootmgr is a bit odd, since
    that bootmeth handles selection of the bootdev itself. VBE needs to work
    the same way, so we should support it properly.
    
    Add a flag that indicates that the bootmeth is global, rather than being
    invoked on each bootdev. Provide a helper to read a bootflow from the
    bootmeth.
    
    Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>