2 * PROJECT: ReactOS Boot Loader
3 * LICENSE: BSD - See COPYING.ARM in the top level directory
4 * FILE: boot/armllb/hw/omap3-zoom2/hwuart.c
5 * PURPOSE: LLB UART Initialization Routines for OMAP3 ZOOM2
6 * PROGRAMMERS: ReactOS Portable Systems Group
10 #define SERIAL_REGISTER_STRIDE 2
11 #include "lib/cportlib/cport.c"
13 /* GLOBALS ********************************************************************/
15 #define SERIAL_TL16CP754C_QUAD0_BASE (PVOID)0x10000000
17 CPPORT LlbHwOmap3UartPorts
[4] =
25 /* FUNCTIONS ******************************************************************/
29 LlbHwOmap3UartInitialize(VOID
)
31 CpInitialize(&LlbHwOmap3UartPorts
[0], SERIAL_TL16CP754C_QUAD0_BASE
, 115200);
36 LlbHwUartSendChar(IN CHAR Char
)
38 /* Send the character */
39 CpPutByte(&LlbHwOmap3UartPorts
[0], Char
);
44 LlbHwUartTxReady(VOID
)
46 /* TX output buffer is ready? */
52 LlbHwGetUartBase(IN ULONG Port
)