summaryrefslogtreecommitdiffstats
path: root/QuarkPlatformPkg/Library
diff options
context:
space:
mode:
authorMichael Kinney <michael.d.kinney@intel.com>2016-10-03 11:15:02 -0700
committerMichael Kinney <michael.d.kinney@intel.com>2016-10-07 15:00:25 -0700
commit8ac6966704fe2d7bfa62a826da3927f860e0b241 (patch)
tree48d908eb7b627ec69a6af883dcd8f2e036cf0a38 /QuarkPlatformPkg/Library
parent69a0854b8fa8317dcf459c6e753fefa3a89340e6 (diff)
downloadedk2-8ac6966704fe2d7bfa62a826da3927f860e0b241.tar.gz
edk2-8ac6966704fe2d7bfa62a826da3927f860e0b241.tar.bz2
edk2-8ac6966704fe2d7bfa62a826da3927f860e0b241.zip
QuarkPlatformPkg/PlatformHelperLib: Remove PlatformDebugPortGetChar8()
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>
Diffstat (limited to 'QuarkPlatformPkg/Library')
-rw-r--r--QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperLib.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperLib.c b/QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperLib.c
index f9ceda4aaf..768ea14629 100644
--- a/QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperLib.c
+++ b/QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperLib.c
@@ -91,33 +91,6 @@ WriteFirstFreeSpiProtect (
//
/**
- Read 8bit character from debug stream.
-
- Block until character is read.
-
- @return 8bit character read from debug stream.
-
-**/
-CHAR8
-EFIAPI
-PlatformDebugPortGetChar8 (
- VOID
- )
-{
- CHAR8 Got;
-
- do {
- if (SerialPortPoll ()) {
- if (SerialPortRead ((UINT8 *) &Got, 1) == 1) {
- break;
- }
- }
- } while (TRUE);
-
- return Got;
-}
-
-/**
Clear SPI Protect registers.
@retval EFI_SUCCESS SPI protect registers cleared.