• Ard Biesheuvel's avatar
    efi: Merge EFI system table revision and vendor checks · 14fb4209
    Ard Biesheuvel authored
    We have three different versions of the code that checks the EFI system
    table revision and copies the firmware vendor string, and they are
    mostly equivalent, with the exception of the use of early_memremap_ro
    vs. __va() and the lowest major revision to warn about. Let's move this
    into common code and factor out the commonalities.
    
    Tested-by: Tony Luck <tony.luck@intel.com> # arch/ia64
    Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
    14fb4209
efi.c 35.3 KB