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)
commitdd5fc854de5fd37adfcef8a366cd21a55aa01d3d
tree48658057b6a005c93dfb54072585f432a96e934a
parent8f0d8163b50e01f398b14bcd4dc039ac5ab18d64
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