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>
/** @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
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
// 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