diff options
-rw-r--r-- | QuarkPlatformPkg/Include/Library/PlatformHelperLib.h | 16 | ||||
-rw-r--r-- | QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperLib.c | 27 |
2 files changed, 1 insertions, 42 deletions
diff --git a/QuarkPlatformPkg/Include/Library/PlatformHelperLib.h b/QuarkPlatformPkg/Include/Library/PlatformHelperLib.h index 7b4119deb9..cf884e1c85 100644 --- a/QuarkPlatformPkg/Include/Library/PlatformHelperLib.h +++ b/QuarkPlatformPkg/Include/Library/PlatformHelperLib.h @@ -1,7 +1,7 @@ /** @file
PlatformHelperLib function prototype definitions.
-Copyright (c) 2013 - 2016 Intel Corporation. +Copyright (c) 2013 - 2016 Intel Corporation.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -46,20 +46,6 @@ PlatformFindFvFileRawDataSection ( );
/**
- Read 8bit character from debug stream.
-
- Block until character is read.
-
- @return 8bit character read from debug stream.
-
-**/
-CHAR8
-EFIAPI
-PlatformDebugPortGetChar8 (
- VOID
- );
-
-/**
Find free spi protect register and write to it to protect a flash region.
@param DirectValue Value to directly write to register.
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.
|