summaryrefslogtreecommitdiff
path: root/OvmfPkg
diff options
context:
space:
mode:
Diffstat (limited to 'OvmfPkg')
-rw-r--r--OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
index c960c6c..738fdce 100644
--- a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
+++ b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
@@ -752,10 +752,10 @@ PciInitialization (
PciWrite8 (PCI_LIB_ADDRESS (0, 3, 0, 0x3d), 0x01);
//
- // Bus 0, Device 4, Function 0 - RAM Memory
+ // Bus 0, Device 5, Function 0 - RAM Memory
//
- PciWrite8 (PCI_LIB_ADDRESS (0, 4, 0, 0x3c), 0x09);
- PciWrite8 (PCI_LIB_ADDRESS (0, 4, 0, 0x3d), 0x01);
+ PciWrite8 (PCI_LIB_ADDRESS (0, 5, 0, 0x3c), 0x09);
+ PciWrite8 (PCI_LIB_ADDRESS (0, 5, 0, 0x3d), 0x01);
}