**/\r
\r
#include <Base.h>\r
-#include <Library/DebugLib.h>\r
#include <Library/SerialPortLib.h>\r
#include <Library/PcdLib.h>\r
#include <Library/IoLib.h>\r
VOID\r
)\r
{\r
- UINT32 Base = PcdGet32 (PcdConsoleUart);\r
+ UINT32 Base = PcdGet32 (PcdConsoleUartBase);\r
\r
// initialize baud rate generator to 115200 based on EB clock REFCLK24MHZ\r
MmioWrite32 (Base + UARTIBRD, UART_115200_IDIV);\r
IN UINTN NumberOfBytes\r
)\r
{\r
- UINT32 FR = PcdGet32(PcdConsoleUart) + UARTFR;\r
- UINT32 DR = PcdGet32(PcdConsoleUart) + UARTDR;\r
+ UINT32 FR = PcdGet32 (PcdConsoleUartBase) + UARTFR;\r
+ UINT32 DR = PcdGet32 (PcdConsoleUartBase) + UARTDR;\r
UINTN Count;\r
\r
for (Count = 0; Count < NumberOfBytes; Count++, Buffer++) {\r
IN UINTN NumberOfBytes\r
)\r
{\r
- UINT32 FR = PcdGet32(PcdConsoleUart) + UARTFR;\r
- UINT32 DR = PcdGet32(PcdConsoleUart) + UARTDR;\r
+ UINT32 FR = PcdGet32 (PcdConsoleUartBase) + UARTFR;\r
+ UINT32 DR = PcdGet32 (PcdConsoleUartBase) + UARTDR;\r
UINTN Count;\r
\r
for (Count = 0; Count < NumberOfBytes; Count++, Buffer++) {\r
VOID\r
)\r
{\r
- UINT32 FR = PcdGet32(PcdConsoleUart) + UARTFR;\r
+ UINT32 FR = PcdGet32 (PcdConsoleUartBase) + UARTFR;\r
\r
if ((MmioRead32 (FR) & UART_RX_EMPTY_FLAG_MASK) == 0) {\r
return TRUE;\r