aboutsummaryrefslogtreecommitdiffstats
path: root/roms/edk2/ArmPlatformPkg/PlatformPei/PlatformPeiLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'roms/edk2/ArmPlatformPkg/PlatformPei/PlatformPeiLib.c')
-rw-r--r--roms/edk2/ArmPlatformPkg/PlatformPei/PlatformPeiLib.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/roms/edk2/ArmPlatformPkg/PlatformPei/PlatformPeiLib.c b/roms/edk2/ArmPlatformPkg/PlatformPei/PlatformPeiLib.c
new file mode 100644
index 000000000..84b45f414
--- /dev/null
+++ b/roms/edk2/ArmPlatformPkg/PlatformPei/PlatformPeiLib.c
@@ -0,0 +1,24 @@
+/** @file
+*
+* Copyright (c) 2011-2014, ARM Limited. All rights reserved.
+*
+* SPDX-License-Identifier: BSD-2-Clause-Patent
+*
+**/
+
+#include <PiPei.h>
+
+#include <Library/ArmPlatformLib.h>
+#include <Library/HobLib.h>
+#include <Library/PcdLib.h>
+
+EFI_STATUS
+EFIAPI
+PlatformPeim (
+ VOID
+ )
+{
+ BuildFvHob (PcdGet64 (PcdFvBaseAddress), PcdGet32 (PcdFvSize));
+
+ return EFI_SUCCESS;
+}