Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Alexander Graf's avatar
    f4f9993f
    efi_loader: Fix configuration table override · f4f9993f
    Alexander Graf authored
    
    Before commit 7cbc1241 ("efi_loader: initalize EFI object list
    only once") we recreated the world on every bootefi invocation.
    
    That included the object tree as well as the configuration tables.
    
    Now however we don't recreate them, which means we must not explicitly
    override the configuration tables, as otherwise we may lose our SMBIOS
    table from the configuration table list on second bootefi invocation.
    
    This patch makes bootefi call our normal configuration table modification
    APIs to add/remove the FDT instead of recreating all tables from scratch.
    That way the SMBIOS table gets preserved across multiple invocations.
    
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    f4f9993f
    History
    efi_loader: Fix configuration table override
    Alexander Graf authored
    
    Before commit 7cbc1241 ("efi_loader: initalize EFI object list
    only once") we recreated the world on every bootefi invocation.
    
    That included the object tree as well as the configuration tables.
    
    Now however we don't recreate them, which means we must not explicitly
    override the configuration tables, as otherwise we may lose our SMBIOS
    table from the configuration table list on second bootefi invocation.
    
    This patch makes bootefi call our normal configuration table modification
    APIs to add/remove the FDT instead of recreating all tables from scratch.
    That way the SMBIOS table gets preserved across multiple invocations.
    
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>