Reviewed-by: Liming Gao <liming....@intel.com>

-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Marcin Wojtas
Sent: 2020年7月31日 0:06
To: devel@edk2.groups.io
Cc: l...@nuviainc.com; ard.biesheu...@arm.com; m...@semihalf.com; 
j...@semihalf.com; nad...@marvell.com; kos...@marvell.com
Subject: [edk2-devel] [platforms: PATCH 1/1] Marvell/Drivers: MvFvbDxe: Switch 
to PcdSet64S

According to the bug:
https://bugzilla.tianocore.org/show_bug.cgi?id=2777
the deprecated code under DISABLE_NEW_DEPRECATED_INTERFACES will be removed, 
which will result in compilation breakage of the Marvell platforms. Prevent 
that by switching to the different PcdSet API.

Signed-off-by: Marcin Wojtas <m...@semihalf.com>
---
 Silicon/Marvell/Drivers/Spi/MvFvbDxe/MvFvbDxe.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Silicon/Marvell/Drivers/Spi/MvFvbDxe/MvFvbDxe.c 
b/Silicon/Marvell/Drivers/Spi/MvFvbDxe/MvFvbDxe.c
index fba75b6..e8cad86 100644
--- a/Silicon/Marvell/Drivers/Spi/MvFvbDxe/MvFvbDxe.c
+++ b/Silicon/Marvell/Drivers/Spi/MvFvbDxe/MvFvbDxe.c
@@ -1059,12 +1059,12 @@ MvFvbConfigureFlashInstance (
         return EFI_OUT_OF_RESOURCES;
     }
 
-    PcdSet64 (PcdFlashNvStorageVariableBase64,
+    PcdSet64S (PcdFlashNvStorageVariableBase64,
       (UINT64) FlashInstance->RegionBaseAddress);
-    PcdSet64 (PcdFlashNvStorageFtwWorkingBase64,
+    PcdSet64S (PcdFlashNvStorageFtwWorkingBase64,
       (UINT64) FlashInstance->RegionBaseAddress
       + VariableSize);
-    PcdSet64 (PcdFlashNvStorageFtwSpareBase64,
+    PcdSet64S (PcdFlashNvStorageFtwSpareBase64,
       (UINT64) FlashInstance->RegionBaseAddress
       + VariableSize
       + FtwWorkingSize);
--
2.7.4





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

View/Reply Online (#63532): https://edk2.groups.io/g/devel/message/63532
Mute This Topic: https://groups.io/mt/75889250/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to