From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.42336.1674642519766515376 for ; Wed, 25 Jan 2023 02:28:39 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: pierre.gondois@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2D3911682; Wed, 25 Jan 2023 02:29:21 -0800 (PST) Received: from cam-smtp0.cambridge.arm.com (pierre123.nice.arm.com [10.34.100.128]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id AA1503F71E; Wed, 25 Jan 2023 02:28:37 -0800 (PST) From: "PierreGondois" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Thomas Abraham , Sami Mujawar , Leif Lindholm , Wenyi Xie , Ilias Apalodimas , Omkar Anand Kulkarni , Pranav Madhu , Sayanta Pattanayak , Pierre Gondois Subject: [PATCH edk2-platforms 3/5] Silicon/Hisilicon/FlashFvbDxe: Update TokenSpace of PcdNorFlashCheckBlockLocked Date: Wed, 25 Jan 2023 11:28:00 +0100 Message-Id: <20230125102802.663790-4-Pierre.Gondois@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230125102802.663790-1-Pierre.Gondois@arm.com> References: <20230125102802.663790-1-Pierre.Gondois@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Pierre Gondois commit d7b286ae5f53 ("Platform/ARM: clone NorFlashDxe from ArmPlatformPkg") recently moved the NorFlashDxe. Update the TokenSpace of the PcdNorFlashCheckBlockLocked accordingly and include ARM.dec for the module. Signed-off-by: Pierre Gondois --- Silicon/Hisilicon/Drivers/FlashFvbDxe/FlashFvbDxe.inf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Silicon/Hisilicon/Drivers/FlashFvbDxe/FlashFvbDxe.inf b/Sili= con/Hisilicon/Drivers/FlashFvbDxe/FlashFvbDxe.inf index 1119361e7726..93a8f7edc3dd 100644 --- a/Silicon/Hisilicon/Drivers/FlashFvbDxe/FlashFvbDxe.inf +++ b/Silicon/Hisilicon/Drivers/FlashFvbDxe/FlashFvbDxe.inf @@ -25,6 +25,7 @@ [Packages] MdePkg/MdePkg.dec MdeModulePkg/MdeModulePkg.dec ArmPlatformPkg/ArmPlatformPkg.dec + Platform/ARM/ARM.dec Silicon/Hisilicon/HisiPkg.dec =20 [LibraryClasses] @@ -56,7 +57,7 @@ [Pcd.common] gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize =20 - gArmPlatformTokenSpaceGuid.PcdNorFlashCheckBlockLocked + gPlatformArmTokenSpaceGuid.PcdNorFlashCheckBlockLocked gHisiTokenSpaceGuid.PcdSFCMEM0BaseAddress =20 [Depex] --=20 2.25.1