summaryrefslogtreecommitdiffstats
path: root/drivers/serial/serial_bcm283x_mu.c
Commit message (Collapse)AuthorAgeFilesLines
* serial: bcm283x_mu: make pending values more explicitStephen Warren2016-04-181-2/+2
| | | | | | | | | | dm_serial_ops.pending should return the number of characters, not just a valid C Boolean integer value. The existing code does already does this, but only as an accident since BCM283X_MU_LSR_RX_READY happens to be BIT(0). Enhance the code to be more explicit about the values it returns. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
* serial: add BCM283x mini UART driverStephen Warren2016-03-271-0/+140
The RPi3 typically uses the regular UART for high-speed communication with the Bluetooth device, leaving us the mini UART to use for the serial console. Add support for this UART so we can use it. Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
OpenPOWER on IntegriCloud