PL011 uart: rename UART -> uart

* Left over var name from my test code
* This should be pretty close to functional
  (if not already working)
* Any more uart experimentation will not
  reach upstream until working.
This commit is contained in:
Alexander von Gluck IV
2012-05-14 14:08:18 -05:00
parent fd52e77cda
commit a5a89915fc
+2 -2
View File
@@ -82,8 +82,8 @@ UartPL011::InitPort(uint32 baud)
// Calculate baud divisor
uint32 baudDivisor = BOARD_UART_CLOCK / (16 * baud);
uint32 remainder = BOARD_UART_CLOCK % (16 * baud);
uint32 baudFractional = ((8 * remainder) / BAUD >> 1)
+ ((8 * remainder) / BAUD & 1);
uint32 baudFractional = ((8 * remainder) / baud >> 1)
+ ((8 * remainder) / baud & 1);
// Disable UART
Disable();