diff options
author | Laszlo Ersek <lersek@redhat.com> | 2015-02-23 16:02:39 +0000 |
---|---|---|
committer | lersek <lersek@Edk2> | 2015-02-23 16:02:39 +0000 |
commit | 93deff5aca6e0ad03e55d6276e81a6d8efb134b1 (patch) | |
tree | 3f5a1dfc5c59acfb76a48017e3d1b569532382e9 /PcAtChipsetPkg | |
parent | 0b7c6cd4018c557677391388025b9bb2ab45997c (diff) | |
download | edk2-93deff5aca6e0ad03e55d6276e81a6d8efb134b1.zip edk2-93deff5aca6e0ad03e55d6276e81a6d8efb134b1.tar.gz edk2-93deff5aca6e0ad03e55d6276e81a6d8efb134b1.tar.bz2 |
PcAtChipsetPkg/PciHostBridgeDxe: drop PciAddress, PciData
The PciAddress and PciData members of PCI_ROOT_BRIDGE_INSTANCE are never
read; drop them.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16892 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PcAtChipsetPkg')
-rw-r--r-- | PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.h | 3 | ||||
-rw-r--r-- | PcAtChipsetPkg/PciHostBridgeDxe/PciRootBridgeIo.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.h b/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.h index 52ff532..f9ef7d8 100644 --- a/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.h +++ b/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.h @@ -456,9 +456,6 @@ typedef struct { UINT64 MemLimit;
UINT64 IoLimit;
- UINTN PciAddress;
- UINTN PciData;
-
EFI_DEVICE_PATH_PROTOCOL *DevicePath;
EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL Io;
diff --git a/PcAtChipsetPkg/PciHostBridgeDxe/PciRootBridgeIo.c b/PcAtChipsetPkg/PciHostBridgeDxe/PciRootBridgeIo.c index c7d9f06..7986550 100644 --- a/PcAtChipsetPkg/PciHostBridgeDxe/PciRootBridgeIo.c +++ b/PcAtChipsetPkg/PciHostBridgeDxe/PciRootBridgeIo.c @@ -670,9 +670,6 @@ RootBridgeConstructor ( PrivateData->ResAllocNode[Index].Status = ResNone;
}
- PrivateData->PciAddress = 0xCF8;
- PrivateData->PciData = 0xCFC;
-
PrivateData->RootBridgeAttrib = Attri;
PrivateData->Supports = EFI_PCI_ATTRIBUTE_IDE_PRIMARY_IO | EFI_PCI_ATTRIBUTE_IDE_SECONDARY_IO | \
|