summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZailiang Sun <zailiang.sun@intel.com>2019-04-17 17:20:09 +0800
committerzwei4 <david.wei@intel.com>2019-04-18 12:23:15 +0800
commit2980988575c9c07f5be45928c8c0d478d3219d63 (patch)
tree4ad4f87c7db358a6c80e5ac8e06683989523e599
parentd43056888790f987169c54a5c2895758b85dff72 (diff)
downloadedk2-2980988575c9c07f5be45928c8c0d478d3219d63.tar.gz
edk2-2980988575c9c07f5be45928c8c0d478d3219d63.tar.bz2
edk2-2980988575c9c07f5be45928c8c0d478d3219d63.zip
Vlv2TbltDevicePkg: Remove ResetSystem declaration
Use MdeModulePkg declaration of ResetSystem function, comment the one in platform source code. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zailiang Sun <zailiang.sun@intel.com> Cc: David Wei <david.wei@intel.com> Cc: Yi Qian <yi.qian@intel.com> Reviewed-by: Yi Qian <yi.qian@intel.com>
-rw-r--r--Vlv2TbltDevicePkg/PlatformPei/Platform.c1
-rw-r--r--Vlv2TbltDevicePkg/PlatformPei/Platform.h12
2 files changed, 7 insertions, 6 deletions
diff --git a/Vlv2TbltDevicePkg/PlatformPei/Platform.c b/Vlv2TbltDevicePkg/PlatformPei/Platform.c
index cf47a56a52..eba1dfff30 100644
--- a/Vlv2TbltDevicePkg/PlatformPei/Platform.c
+++ b/Vlv2TbltDevicePkg/PlatformPei/Platform.c
@@ -18,7 +18,6 @@ Module Name:
#include "PlatformBaseAddresses.h"
#include "PchAccess.h"
#include <Guid/PlatformInfo.h>
-#include "Platform.h"
#include "PchCommonDefinitions.h"
#include <Ppi/MfgMemoryTest.h>
#include <Guid/SetupVariable.h>
diff --git a/Vlv2TbltDevicePkg/PlatformPei/Platform.h b/Vlv2TbltDevicePkg/PlatformPei/Platform.h
index 4158dd4cf5..e1817b28c6 100644
--- a/Vlv2TbltDevicePkg/PlatformPei/Platform.h
+++ b/Vlv2TbltDevicePkg/PlatformPei/Platform.h
@@ -47,16 +47,18 @@ UpdateBootMode (
/**
This function reset the entire platform, including all processor and devices, and
reboots the system.
+
+ Declaration of this function goes to MdeModulePkg/Include/Library/ResetSystemLib.h
@param PeiServices General purpose services available to every PEIM.
@retval EFI_SUCCESS if it completed successfully.
**/
-EFI_STATUS
-EFIAPI
-ResetSystem (
- IN CONST EFI_PEI_SERVICES **PeiServices
- );
+// EFI_STATUS
+// EFIAPI
+// ResetSystem (
+ // IN CONST EFI_PEI_SERVICES **PeiServices
+ // );
/**
This function will be called when MRC is done.