]> git.proxmox.com Git - mirror_edk2.git/blobdiff - QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperLib.c
QuarkPlatformPkg/PlatformHelperLib: Remove PlatformDebugPortGetChar8()
[mirror_edk2.git] / QuarkPlatformPkg / Library / PlatformHelperLib / PlatformHelperLib.c
index f9ceda4aaf5d3057d700ac2cdc6bbc5336926468..768ea146293608947a19bad11c0d035c6617ebfc 100644 (file)
@@ -90,33 +90,6 @@ WriteFirstFreeSpiProtect (
 // 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