Implement SerialPortLib and PlatformHookLib with System76EcLib
This commit is contained in:
committed by
Jeremy Soller
parent
c6f1c4e654
commit
e30d17a0d2
@@ -17,7 +17,6 @@
|
||||
#include <Library/PciLib.h>
|
||||
#include <Library/PlatformHookLib.h>
|
||||
#include <Library/BaseLib.h>
|
||||
#include <Library/System76EcLib.h>
|
||||
|
||||
//
|
||||
// PCI Defintions.
|
||||
@@ -602,8 +601,6 @@ SerialPortWrite (
|
||||
UINTN Result;
|
||||
UINTN Index;
|
||||
UINTN FifoSize;
|
||||
UINT8 *BufPtr = Buffer;
|
||||
UINTN Bytes = NumberOfBytes;
|
||||
|
||||
if (Buffer == NULL) {
|
||||
return 0;
|
||||
@@ -666,9 +663,6 @@ SerialPortWrite (
|
||||
SerialPortWriteRegister (SerialRegisterBase, R_UART_TXBUF, *Buffer);
|
||||
}
|
||||
}
|
||||
|
||||
System76EcWrite(BufPtr, Bytes);
|
||||
|
||||
return Result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user