]> git.baikalelectronics.ru Git - kernel.git/commit
EFI: Stash ROMs if they're not in the PCI BAR
authorMatthew Garrett <mjg@redhat.com>
Wed, 5 Dec 2012 21:33:26 +0000 (14:33 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 5 Dec 2012 21:33:26 +0000 (14:33 -0700)
commitf5e16a7d5c97d18c0cdc0a2222c3f1dbaf515538
tree48658057b6a005c93dfb54072585f432a96e934a
parent47e9b4f8d477fa4aee4b58e1afe93ce35e1d294e
EFI: Stash ROMs if they're not in the PCI BAR

EFI provides support for providing PCI ROMs via means other than the ROM
BAR. This support vanishes after we've exited boot services, so add support
for stashing copies of the ROMs in setup_data if they're not otherwise
available.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Seth Forshee <seth.forshee@canonical.com>
arch/x86/boot/compressed/eboot.c
arch/x86/include/asm/bootparam.h
arch/x86/include/asm/pci.h
include/linux/efi.h