public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Abner Chang" <abner.chang@hpe.com>
To: devel@edk2.groups.io
Cc: Leif Lindholm <leif@nuviainc.com>,
	Peng Xie <xiepeng@phytium.com.cn>,
	Ling Jia <jialing@phytium.com.cn>,
	Yiqi Shu <shuyiqi@phytium.com.cn>,
	Daniel Schaefer <daniel.schaefer@hpe.com>
Subject: [edk2-platforms][PATCH 08/15] Platform/Phytium: Use PcdPciIoTranslation PCD from MdePkg
Date: Mon,  4 Oct 2021 17:29:54 +0800	[thread overview]
Message-ID: <20211004093001.4576-9-abner.chang@hpe.com> (raw)
In-Reply-To: <20211004093001.4576-1-abner.chang@hpe.com>

Complaint with BZ: #3665
https://bugzilla.tianocore.org/show_bug.cgi?id=3665

PcdPciIoTranslation PCD is relocated to MdePkg that leveraged by
both ARM and RISC-V arch. This patch uses the one from MdePkg instead the one under ArmVirtPkg.

Signed-off-by: Abner Chang <abner.chang@hpe.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Peng Xie <xiepeng@phytium.com.cn>
Cc: Ling Jia <jialing@phytium.com.cn>
Cc: Yiqi Shu <shuyiqi@phytium.com.cn>
Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
---
 Platform/Phytium/DurianPkg/DurianPkg.dsc                        | 2 +-
 Silicon/Phytium/FT2000-4Pkg/Library/PlatformLib/PlatformLib.inf | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Platform/Phytium/DurianPkg/DurianPkg.dsc b/Platform/Phytium/DurianPkg/DurianPkg.dsc
index 56ed7fffc5..7df7e0f1d5 100644
--- a/Platform/Phytium/DurianPkg/DurianPkg.dsc
+++ b/Platform/Phytium/DurianPkg/DurianPkg.dsc
@@ -111,7 +111,7 @@
   gArmTokenSpaceGuid.PcdPciBusMax|255
   gArmTokenSpaceGuid.PcdPciIoBase|0x00000
   gArmTokenSpaceGuid.PcdPciIoSize|0xf00000
-  gArmTokenSpaceGuid.PcdPciIoTranslation|0x50000000
+  gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation|0x50000000
   gArmTokenSpaceGuid.PcdPciMmio32Base|0x58000000
   gArmTokenSpaceGuid.PcdPciMmio32Size|0x28000000
   gArmTokenSpaceGuid.PcdPciMmio32Translation|0x0
diff --git a/Silicon/Phytium/FT2000-4Pkg/Library/PlatformLib/PlatformLib.inf b/Silicon/Phytium/FT2000-4Pkg/Library/PlatformLib/PlatformLib.inf
index 40c070767a..6d5951c62d 100644
--- a/Silicon/Phytium/FT2000-4Pkg/Library/PlatformLib/PlatformLib.inf
+++ b/Silicon/Phytium/FT2000-4Pkg/Library/PlatformLib/PlatformLib.inf
@@ -44,7 +44,7 @@
   gArmTokenSpaceGuid.PcdPciBusMax
   gArmTokenSpaceGuid.PcdPciIoBase
   gArmTokenSpaceGuid.PcdPciIoSize
-  gArmTokenSpaceGuid.PcdPciIoTranslation
+  gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation
   gArmTokenSpaceGuid.PcdPciMmio32Base
   gArmTokenSpaceGuid.PcdPciMmio32Size
   gArmTokenSpaceGuid.PcdPciMmio32Translation
-- 
2.17.1


  parent reply	other threads:[~2021-10-04 10:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-04  9:29 [edk2-platforms][PATCH 00/15] Changes to compliant with BZ:#3665 Abner Chang
2021-10-04  9:29 ` [edk2-platforms][PATCH 01/15] Platform/Comcast: Use FdtClientDxe from EmbeddedPkg Abner Chang
2021-10-04  9:29 ` [edk2-platforms][PATCH 02/15] Platform/Hisilicon: Use PcdPciIoTranslation PCD from MdePkg Abner Chang
2021-10-04  9:29 ` [edk2-platforms][PATCH 03/15] Platform/SbsaQemu: " Abner Chang
2021-10-04  9:29 ` [edk2-platforms][PATCH 04/15] Platform/AMD: " Abner Chang
2021-10-04  9:29 ` [edk2-platforms][PATCH 05/15] Platform/ARM: " Abner Chang
2021-10-04 18:09   ` Sami Mujawar
2021-10-14 17:21   ` [edk2-devel] " PierreGondois
2021-10-15  7:20     ` Abner Chang
2021-10-04  9:29 ` [edk2-platforms][PATCH 06/15] Platform/Comcast: " Abner Chang
2021-10-04  9:29 ` [edk2-platforms][PATCH 07/15] Platform/LeMaker: " Abner Chang
2021-10-04  9:29 ` Abner Chang [this message]
2021-10-04  9:29 ` [edk2-platforms][PATCH 09/15] Platform/SoftIron: " Abner Chang
2021-10-04  9:29 ` [edk2-platforms][PATCH 10/15] Platform/Socionext: " Abner Chang
2021-10-04  9:29 ` [edk2-platforms][PATCH 11/15] Platform/Comcast: Use PciPcdProducerLib in OvmfPkg Abner Chang
2021-10-04  9:29 ` [edk2-platforms][PATCH 12/15] Platform/Comcast: Use HighMemDxe provided by OvmfPkg Abner Chang
2021-10-04  9:29 ` [edk2-platforms][PATCH 13/15] Platform/Comcast: Use QemuFwCfgMmio " Abner Chang
2021-10-04  9:30 ` [edk2-platforms][PATCH 14/15] Platform/Comcast: Use FdtPciHostBridgeLib " Abner Chang
2021-10-04  9:30 ` [edk2-platforms][PATCH 15/15] Platform/Comcast: Use VirtioFdtDxe " Abner Chang
2021-10-12 10:23 ` [edk2-devel] [edk2-platforms][PATCH 00/15] Changes to compliant with BZ:#3665 Leif Lindholm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211004093001.4576-9-abner.chang@hpe.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox