x86, efi: remove attribute check from setup_efi_pci

It looks like the original commit that copied the rom contents from
efi always copied the rom, and the fixup in setup_efi_pci from commit
886d751a2e ("x86, efi: correct precedence of operators in
setup_efi_pci") broke that.

This resulted in macbook pro's no longer finding the rom images, and
thus not being able to use the radeon card any more.

The solution is to just remove the check for now, and always copy the
rom if available.

Reported-by: Vitaly Budovski <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: Seth Forshee <[email protected]>
Acked-by: Matthew Garrett <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: Sasha Levin <[email protected]>
Signed-off-by: Maarten Lankhorst <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
This commit is contained in:
Maarten Lankhorst
2013-01-29 17:52:06 +00:00
committed by Matt Fleming
parent 712ba9e9af
commit 739701888f
-3
View File
@@ -302,9 +302,6 @@ static efi_status_t setup_efi_pci(struct boot_params *params)
if (status != EFI_SUCCESS)
continue;
if (!(attributes & EFI_PCI_IO_ATTRIBUTE_EMBEDDED_ROM))
continue;
if (!pci->romimage || !pci->romsize)
continue;