]> git.proxmox.com Git - mirror_edk2.git/blobdiff - QuarkPlatformPkg/Include/Library/PlatformHelperLib.h
QuarkPlatformPkg/PlatformHelperLib: Remove PlatformDebugPortGetChar8()
[mirror_edk2.git] / QuarkPlatformPkg / Include / Library / PlatformHelperLib.h
index a6cc8633cb03558d63a1a0d5c5cedd962f7bdb92..cf884e1c852f2078cbadb500b6ab0073641d5d45 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
 PlatformHelperLib function prototype definitions.\r
 \r
-Copyright (c) 2013 Intel Corporation.\r
+Copyright (c) 2013 - 2016 Intel Corporation.\r
 \r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
@@ -45,20 +45,6 @@ PlatformFindFvFileRawDataSection (
   OUT UINTN                         *SectionDataSize\r
   );\r
 \r
-/**\r
-  Read 8bit character from debug stream.\r
-\r
-  Block until character is read.\r
-\r
-  @return 8bit character read from debug stream.\r
-\r
-**/\r
-CHAR8\r
-EFIAPI\r
-PlatformDebugPortGetChar8 (\r
-  VOID\r
-  );\r
-\r
 /**\r
   Find free spi protect register and write to it to protect a flash region.\r
 \r
@@ -106,42 +92,6 @@ PlatformFlashLockPolicy (
   IN CONST BOOLEAN                        PreBootPolicy\r
   );\r
 \r
-/**\r
-  Erase and Write to platform flash.\r
-\r
-  Routine accesses one flash block at a time, each access consists\r
-  of an erase followed by a write of FLASH_BLOCK_SIZE. One or both\r
-  of DoErase & DoWrite params must be TRUE.\r
-\r
-  Limitations:-\r
-    CpuWriteAddress must be aligned to FLASH_BLOCK_SIZE.\r
-    DataSize must be a multiple of FLASH_BLOCK_SIZE.\r
-\r
-  @param   Smst                   If != NULL then InSmm and use to locate\r
-                                  SpiProtocol.\r
-  @param   CpuWriteAddress        Address in CPU memory map of flash region.\r
-  @param   Data                   The buffer containing the data to be written.\r
-  @param   DataSize               Amount of data to write.\r
-  @param   DoErase                Earse each block.\r
-  @param   DoWrite                Write to each block.\r
-\r
-  @retval  EFI_SUCCESS            Operation successful.\r
-  @retval  EFI_NOT_READY          Required resources not setup.\r
-  @retval  EFI_INVALID_PARAMETER  Invalid parameter.\r
-  @retval  Others                 Unexpected error happened.\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-PlatformFlashEraseWrite (\r
-  IN  VOID                              *Smst,\r
-  IN  UINTN                             CpuWriteAddress,\r
-  IN  UINT8                             *Data,\r
-  IN  UINTN                             DataSize,\r
-  IN  BOOLEAN                           DoErase,\r
-  IN  BOOLEAN                           DoWrite\r
-  );\r
-\r
 /** Check if System booted with recovery Boot Stage1 image.\r
 \r
   @retval  TRUE    If system booted with recovery Boot Stage1 image.\r