PL011 uart: Disable "fluff" code

* Once I can confirm it works will re-enable
* Not needed for basic functionality
This commit is contained in:
Alexander von Gluck IV
2012-05-14 14:08:03 -05:00
parent 4ffe10ca33
commit fd52e77cda
@@ -19,6 +19,8 @@ UartPL011::UartPL011(addr_t base)
fUARTEnabled(true), fUARTEnabled(true),
fUARTBase(base) fUARTBase(base)
{ {
// TODO: Nice, but not required
#if 0
// ** Loopback test // ** Loopback test
uint32 cr = PL01x_CR_UARTEN; uint32 cr = PL01x_CR_UARTEN;
// Enable UART // Enable UART
@@ -51,6 +53,7 @@ UartPL011::UartPL011(addr_t base)
// Set Rx timeout interrupt mask and Rx interrput mask // Set Rx timeout interrupt mask and Rx interrput mask
WriteUart(PL011_IMSC, PL011_RTIM | PL011_RXIM); WriteUart(PL011_IMSC, PL011_RTIM | PL011_RXIM);
#endif
} }