]> git.proxmox.com Git - mirror_edk2.git/commitdiff
QuarkPlatformPkg/PlatformHelperLib: Remove PlatformDebugPortGetChar8()
authorMichael Kinney <michael.d.kinney@intel.com>
Mon, 3 Oct 2016 18:15:02 +0000 (11:15 -0700)
committerMichael Kinney <michael.d.kinney@intel.com>
Fri, 7 Oct 2016 22:00:25 +0000 (15:00 -0700)
Remove the library function PlatformDebugPortGetChar8() from the
PlatformHelperLib that is no longer used by any modules.

Cc: Kelly Steele <kelly.steele@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Kelly Steele <kelly.steele@intel.com>
QuarkPlatformPkg/Include/Library/PlatformHelperLib.h
QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperLib.c

index 7b4119deb990187b93c431310000c1a53fcf9cbb..cf884e1c852f2078cbadb500b6ab0073641d5d45 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
 PlatformHelperLib function prototype definitions.\r
 \r
 /** @file\r
 PlatformHelperLib function prototype definitions.\r
 \r
-Copyright (c) 2013 - 2016 Intel Corporation.
+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
 \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
   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
 /**\r
   Find free spi protect register and write to it to protect a flash region.\r
 \r
index f9ceda4aaf5d3057d700ac2cdc6bbc5336926468..768ea146293608947a19bad11c0d035c6617ebfc 100644 (file)
@@ -90,33 +90,6 @@ WriteFirstFreeSpiProtect (
 // Routines exported by this component.\r
 //\r
 \r
 // Routines exported by this component.\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
-  CHAR8                             Got;\r
-\r
-  do {\r
-    if (SerialPortPoll ()) {\r
-      if (SerialPortRead ((UINT8 *) &Got, 1) == 1) {\r
-        break;\r
-      }\r
-    }\r
-  } while (TRUE);\r
-\r
-  return Got;\r
-}\r
-\r
 /**\r
   Clear SPI Protect registers.\r
 \r
 /**\r
   Clear SPI Protect registers.\r
 \r