summaryrefslogtreecommitdiff
path: root/QuarkPlatformPkg/Include
diff options
context:
space:
mode:
authorLeahy, Leroy P <leroy.p.leahy@intel.com>2016-05-04 17:37:26 -0700
committerPrince Agyeman <prince.agyeman@intel.com>2016-05-05 16:08:42 -0700
commite2d105b3022bed25fc6de6a5499cce80a4ed56f3 (patch)
tree7bbb8a7ac433c794768215f34e4bc92219361787 /QuarkPlatformPkg/Include
parentce1647fc608e8193b416a08da633019de611199c (diff)
downloadedk2-platforms-e2d105b3022bed25fc6de6a5499cce80a4ed56f3.tar.xz
CorebootPayloadPkg/PlatformHelperLib: Remove unreferenced function
Remove the PlatformFlashEraseWrite function which is not used within CorebootPayloadPkg. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-by: Prince Agyeman <prince.agyeman@intel.com>
Diffstat (limited to 'QuarkPlatformPkg/Include')
-rw-r--r--QuarkPlatformPkg/Include/Library/PlatformHelperLib.h38
1 files changed, 1 insertions, 37 deletions
diff --git a/QuarkPlatformPkg/Include/Library/PlatformHelperLib.h b/QuarkPlatformPkg/Include/Library/PlatformHelperLib.h
index a6cc8633cb..7b4119deb9 100644
--- a/QuarkPlatformPkg/Include/Library/PlatformHelperLib.h
+++ b/QuarkPlatformPkg/Include/Library/PlatformHelperLib.h
@@ -1,7 +1,7 @@
/** @file
PlatformHelperLib function prototype definitions.
-Copyright (c) 2013 Intel Corporation.
+Copyright (c) 2013 - 2016 Intel Corporation.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -106,42 +106,6 @@ PlatformFlashLockPolicy (
IN CONST BOOLEAN PreBootPolicy
);
-/**
- Erase and Write to platform flash.
-
- Routine accesses one flash block at a time, each access consists
- of an erase followed by a write of FLASH_BLOCK_SIZE. One or both
- of DoErase & DoWrite params must be TRUE.
-
- Limitations:-
- CpuWriteAddress must be aligned to FLASH_BLOCK_SIZE.
- DataSize must be a multiple of FLASH_BLOCK_SIZE.
-
- @param Smst If != NULL then InSmm and use to locate
- SpiProtocol.
- @param CpuWriteAddress Address in CPU memory map of flash region.
- @param Data The buffer containing the data to be written.
- @param DataSize Amount of data to write.
- @param DoErase Earse each block.
- @param DoWrite Write to each block.
-
- @retval EFI_SUCCESS Operation successful.
- @retval EFI_NOT_READY Required resources not setup.
- @retval EFI_INVALID_PARAMETER Invalid parameter.
- @retval Others Unexpected error happened.
-
-**/
-EFI_STATUS
-EFIAPI
-PlatformFlashEraseWrite (
- IN VOID *Smst,
- IN UINTN CpuWriteAddress,
- IN UINT8 *Data,
- IN UINTN DataSize,
- IN BOOLEAN DoErase,
- IN BOOLEAN DoWrite
- );
-
/** Check if System booted with recovery Boot Stage1 image.
@retval TRUE If system booted with recovery Boot Stage1 image.