]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Omap35xxPkg/Library/SerialPortLib/SerialPortLib.c
ARM Packages: Removed trailing spaces
[mirror_edk2.git] / Omap35xxPkg / Library / SerialPortLib / SerialPortLib.c
index 2f93140e4cc850c8215c1a09063eaca4c4acd051..58f70d5512fb8052ef4c1c653fb88cbd43bc32fa 100644 (file)
@@ -3,7 +3,7 @@
 \r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
 \r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
-  \r
+\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -59,7 +59,7 @@ SerialPortWrite (
   UINT32  LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG;\r
   UINT32  THR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_THR_REG;\r
   UINTN   Count;\r
   UINT32  LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG;\r
   UINT32  THR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_THR_REG;\r
   UINTN   Count;\r
-    \r
+\r
   for (Count = 0; Count < NumberOfBytes; Count++, Buffer++) {\r
     while ((MmioRead8(LSR) & UART_LSR_TX_FIFO_E_MASK) == UART_LSR_TX_FIFO_E_NOT_EMPTY);\r
     MmioWrite8(THR, *Buffer);\r
   for (Count = 0; Count < NumberOfBytes; Count++, Buffer++) {\r
     while ((MmioRead8(LSR) & UART_LSR_TX_FIFO_E_MASK) == UART_LSR_TX_FIFO_E_NOT_EMPTY);\r
     MmioWrite8(THR, *Buffer);\r
@@ -89,7 +89,7 @@ SerialPortRead (
   UINT32  LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG;\r
   UINT32  RBR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_RBR_REG;\r
   UINTN   Count;\r
   UINT32  LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG;\r
   UINT32  RBR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_RBR_REG;\r
   UINTN   Count;\r
-    \r
+\r
   for (Count = 0; Count < NumberOfBytes; Count++, Buffer++) {\r
     while ((MmioRead8(LSR) & UART_LSR_RX_FIFO_E_MASK) == UART_LSR_RX_FIFO_E_EMPTY);\r
     *Buffer = MmioRead8(RBR);\r
   for (Count = 0; Count < NumberOfBytes; Count++, Buffer++) {\r
     while ((MmioRead8(LSR) & UART_LSR_RX_FIFO_E_MASK) == UART_LSR_RX_FIFO_E_EMPTY);\r
     *Buffer = MmioRead8(RBR);\r