Since the device addresss has been translated in PciRootBridgeIo.c
so shuldn't translate it twice in ArmPciCpuIo2Dxe.c

Signed-off-by: LiuYu <[email protected]>
---
 ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.c 
b/ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.c
index d8625e1593..8c46a2778b 100644
--- a/ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.c
+++ b/ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.c
@@ -399,7 +399,6 @@ CpuIoServiceRead (
     return Status;
   }
 
-  Address += PcdGet64 (PcdPciIoTranslation);
 
   //
   // Select loop based on the width of the transfer
@@ -485,7 +484,6 @@ CpuIoServiceWrite (
     return Status;
   }
 
-  Address += PcdGet64 (PcdPciIoTranslation);
 
   //
   // Select loop based on the width of the transfer
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#65263): https://edk2.groups.io/g/devel/message/65263
Mute This Topic: https://groups.io/mt/76861324/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to