audk/MdeModulePkg/Bus
Ard Biesheuvel 065ae7d717 MdeModulePkg/PciBusDxe: make OPROM BAR degradation configurable
The 'universal' PCI bus driver in MdeModulePkg contains a quirk to
degrade 64-bit PCI MMIO BARs to 32-bit in the presence of an option
ROM on the same PCI controller.

This quirk is highly specific to not just the X64 architecture in general,
but to the PC platform in particular, given that only X64 platforms that
require legacy PC BIOS compatibility require it. However, making the
quirk dependent on the presence of the legacy BIOS protocol met with
resistance, due to the fact that it introduces a dependency on the
IntelFrameworkModulePkg package.

So instead, make the quirk configurable, by introducing a feature flag PCD
'PcdPciDegradeResourceForOptionRom' which defaults to TRUE only for X64.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
2016-09-26 05:49:15 -07:00
..
Ata MdeModulePkg/AtaAtapiPassThru: enable 64-bit PCI DMA 2016-09-06 15:40:49 +01:00
I2c/I2cDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Isa MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
Pci MdeModulePkg/PciBusDxe: make OPROM BAR degradation configurable 2016-09-26 05:49:15 -07:00
Scsi MdeModulePkg ScsiDiskDxe: Add Erase Block Protocol support for UFS devices 2016-05-20 13:42:51 +08:00
Sd MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
Ufs MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
Usb MdeModulePkg/UsbMass: Not retry if usb bot transfer execution fail 2016-08-03 09:52:19 +08:00