summaryrefslogtreecommitdiff
path: root/BeagleBoardPkg/Library/ResetSystemLib
diff options
context:
space:
mode:
Diffstat (limited to 'BeagleBoardPkg/Library/ResetSystemLib')
-rw-r--r--BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.c2
-rw-r--r--BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.inf2
2 files changed, 2 insertions, 2 deletions
diff --git a/BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.c b/BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.c
index 0a2cb836e4..706a19b273 100644
--- a/BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.c
+++ b/BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.c
@@ -125,7 +125,7 @@ LibResetSystem (
switch (ResetType) {
case EfiResetWarm:
//Perform warm reset of the system by jumping to the begining of the FV
- StartOfFv = (CALL_STUB)(UINTN)PcdGet32(PcdFlashFvMainBase);
+ StartOfFv = (CALL_STUB)(UINTN)PcdGet32(PcdFvBaseAddress);
StartOfFv ();
break;
case EfiResetCold:
diff --git a/BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.inf b/BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.inf
index afb03bd696..e198812554 100644
--- a/BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.inf
+++ b/BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.inf
@@ -46,4 +46,4 @@
UefiBootServicesTableLib
[Pcd]
- gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase
+ gArmTokenSpaceGuid.PcdFvBaseAddress