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.web12.7468.1633343270110277068 for ; Mon, 04 Oct 2021 03:27:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=Sz9x+vCB; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0911ffc138=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 194625eA003039; Mon, 4 Oct 2021 10:27:49 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=rHKyR+C4UCp+F7chIoKz4ETM4ZUDF+yc5moa3wCZ3QU=; b=Sz9x+vCBBbRRlTmleUgljW1F92CerZC+BcoluHO3oZB5tQUa1DQFaa+m14wEwayB2W+8 xcBW5OHRnFpsjm1Sg3RjUZG/LI35o2vPqwRlkvtBDZZSzGbMqYD3dJHT8FJw80OsrKl+ pP8ZRMmWxX7xKSxr5QFzUYYa2VUG3z+dPgXlv9uZi8UlNA1/lHH7pKcxSJaa3OHcIxgT b7K+nTnDDBawCvZQZozAiwhJg8IlGo6F6X4k1VdwTn5mVRvozceWYgEXmTfj+4MBxSNP Bfrp1a2G4cNlP4Io4EHIgjtJ0Auh/BoYcc/OqueVt0g0w0DhnIWNJkRr61EnP0A0/mAp 7w== Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) by mx0b-002e3701.pphosted.com with ESMTP id 3bfhj0cgvm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Oct 2021 10:27:49 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2354.austin.hpe.com (Postfix) with ESMTP id DA01E83; Mon, 4 Oct 2021 10:27:48 +0000 (UTC) Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id 804F039; Mon, 4 Oct 2021 10:27:47 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Leif Lindholm , Peng Xie , Ling Jia , Yiqi Shu , Daniel Schaefer Subject: [edk2-platforms][PATCH 08/15] Platform/Phytium: Use PcdPciIoTranslation PCD from MdePkg Date: Mon, 4 Oct 2021 17:29:54 +0800 Message-Id: <20211004093001.4576-9-abner.chang@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211004093001.4576-1-abner.chang@hpe.com> References: <20211004093001.4576-1-abner.chang@hpe.com> X-Proofpoint-ORIG-GUID: VwQifd3HiOtlxncHG1Mma7Vl8YCR2Aay X-Proofpoint-GUID: VwQifd3HiOtlxncHG1Mma7Vl8YCR2Aay 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.391,FMLib:17.0.607.475 definitions=2021-10-04_02,2021-10-04_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 priorityscore=1501 malwarescore=0 mlxscore=0 lowpriorityscore=0 suspectscore=0 phishscore=0 spamscore=0 impostorscore=0 mlxlogscore=582 adultscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110040071 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 Cc: Leif Lindholm Cc: Peng Xie Cc: Ling Jia Cc: Yiqi Shu Cc: Daniel Schaefer --- 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