From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web10.6617.1634285247484731901 for ; Fri, 15 Oct 2021 01:07:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=R2MwPfKE; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0922d4c8eb=abner.chang@hpe.com) Received: from pps.filterd (m0134423.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19F7W4bj005551; Fri, 15 Oct 2021 08:07:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version; s=pps0720; bh=aX8VPXdlv21VCLYSKWXiDCp1TMDtGD4AMGauJ5dR19o=; b=R2MwPfKEEgMTy/JY2d9weA5p4X1s++KpwgWzqFk1MfC95FO2xAPK13gCA28X8y8RrGfb o3dfEB+7NZ844+qdObS5FQeWT+1U38ecVbBaY4WkTtb56OnjK6N3cUFTBCzQC7FNn83A /U9yYHfv6BcnVrRKL4cnr1sb8yYIGCYmMguEw7L96ixtBmcX6ZLEgEYtspLIcFJEM4eg /BFBWiSU0M9zttpkHXEXELcWAxtHsw5RGviGr4XqxV4PJvVtgNQTIKmdAw0krNGLCURM gaE52DPtl8cNr1cH7Y01mDqrDAGITbWU+C3etOEZefOwvtnFX7wTGcFvgzxhNh9/FzpP BA== Received: from g4t3427.houston.hpe.com (g4t3427.houston.hpe.com [15.241.140.73]) by mx0b-002e3701.pphosted.com with ESMTP id 3bpsqtn09p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Oct 2021 08:07:26 +0000 Received: from g4t3433.houston.hpecorp.net (g4t3433.houston.hpecorp.net [16.208.49.245]) by g4t3427.houston.hpe.com (Postfix) with ESMTP id 038BA57; Fri, 15 Oct 2021 08:07:26 +0000 (UTC) Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g4t3433.houston.hpecorp.net (Postfix) with ESMTP id E75AB45; Fri, 15 Oct 2021 08:07:24 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Daniel Schaefer Subject: [edk2-platforms][PATCH V2 4/9] Silicon/Styx: Use PcdPciMmio(32)64Translation PCD from MdePkg Date: Fri, 15 Oct 2021 15:09:15 +0800 Message-Id: <20211015070920.28518-5-abner.chang@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211015070920.28518-1-abner.chang@hpe.com> References: <20211015070920.28518-1-abner.chang@hpe.com> X-Proofpoint-GUID: FRUoNqY9xtAhdDAGBumAUInA4FzT7Pl1 X-Proofpoint-ORIG-GUID: FRUoNqY9xtAhdDAGBumAUInA4FzT7Pl1 X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-15_02,2021-10-14_02,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 phishscore=0 impostorscore=0 mlxlogscore=783 spamscore=0 suspectscore=0 clxscore=1015 bulkscore=0 mlxscore=0 priorityscore=1501 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110150052 Compliant with BZ: #3665 https://bugzilla.tianocore.org/show_bug.cgi?id=3665 PcdPciMmio(32)64Translation 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 Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Daniel Schaefer --- .../AmdStyxPciHostBridgeLib/AmdStyxPciHostBridgeLib.inf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Silicon/AMD/Styx/Library/AmdStyxPciHostBridgeLib/AmdStyxPciHostBridgeLib.inf b/Silicon/AMD/Styx/Library/AmdStyxPciHostBridgeLib/AmdStyxPciHostBridgeLib.inf index 31c973cd2a..76a3b5aee2 100644 --- a/Silicon/AMD/Styx/Library/AmdStyxPciHostBridgeLib/AmdStyxPciHostBridgeLib.inf +++ b/Silicon/AMD/Styx/Library/AmdStyxPciHostBridgeLib/AmdStyxPciHostBridgeLib.inf @@ -43,7 +43,7 @@ gArmTokenSpaceGuid.PcdPciIoSize gArmTokenSpaceGuid.PcdPciMmio32Base gArmTokenSpaceGuid.PcdPciMmio32Size - gArmTokenSpaceGuid.PcdPciMmio32Translation + gEfiMdePkgTokenSpaceGuid.PcdPciMmio32Translation gArmTokenSpaceGuid.PcdPciMmio64Base gArmTokenSpaceGuid.PcdPciMmio64Size - gArmTokenSpaceGuid.PcdPciMmio64Translation + gEfiMdePkgTokenSpaceGuid.PcdPciMmio64Translation -- 2.17.1