mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
69a0854b8f
commit
8ac6966704
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
PlatformHelperLib function prototype definitions.
|
PlatformHelperLib function prototype definitions.
|
||||||
|
|
||||||
Copyright (c) 2013 - 2016 Intel Corporation.
|
Copyright (c) 2013 - 2016 Intel Corporation.
|
||||||
|
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
@ -45,20 +45,6 @@ PlatformFindFvFileRawDataSection (
|
||||||
OUT UINTN *SectionDataSize
|
OUT UINTN *SectionDataSize
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
|
||||||
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.
|
Find free spi protect register and write to it to protect a flash region.
|
||||||
|
|
||||||
|
|
|
@ -90,33 +90,6 @@ WriteFirstFreeSpiProtect (
|
||||||
// Routines exported by this component.
|
// Routines exported by this component.
|
||||||
//
|
//
|
||||||
|
|
||||||
/**
|
|
||||||
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.
|
Clear SPI Protect registers.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue