arm-trusted-firmware/drivers
Bryan O'Donoghue 598cee482a drivers: imx: uart: Add mxc_console
- Adds a simple register read/write abstraction to cut-down on the
  amount of typing and text required to access UART registers in this driver.

- Adds a console getc() callback.

- Adds a console putc() callback, translating '\n' to '\r' + '\n'.

- Initializes the MXC UART, take a crude method of calculating the
  BAUD rate generator. The UART clock-gates must have been enabled prior
  to launching the UART init code.
  Special care needs to be taken to ensure the UBIR is initialized before the
  UBMR and we need to ensure that UCR2.SRST comes good before trying to
  program other registers associated with the UART.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
2018-08-30 17:38:32 +01:00
..
arm Merge pull request #1542 from antonio-nino-diaz-arm/an/bl31-misra 2018-08-30 16:18:49 +01:00
auth libc: Use printf and snprintf across codebase 2018-08-22 10:26:05 +01:00
cadence/uart drivers: cadence: cdns: Update CDNS driver to support MULTI_CONSOLE_API 2018-01-19 15:21:12 -08:00
console Console: Use callee-saved registers 2018-08-15 13:03:01 +01:00
coreboot/cbmem_console/aarch64 coreboot: Add support for CBMEM console 2018-01-19 15:21:12 -08:00
delay_timer Fix MISRA rule 8.3 in common code 2018-02-28 17:18:21 +00:00
gpio Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
imx/uart drivers: imx: uart: Add mxc_console 2018-08-30 17:38:32 +01:00
io Merge pull request #1450 from MISL-EBU-System-SW/marvell-support-v6 2018-07-19 17:11:32 +01:00
marvell libc: Use printf and snprintf across codebase 2018-08-22 10:26:05 +01:00
mmc drivers/mmc: Fix warning about usage of uninitialized variable 2018-08-10 14:58:08 +01:00
partition libc: Use printf and snprintf across codebase 2018-08-22 10:26:05 +01:00
st libc: Use printf and snprintf across codebase 2018-08-22 10:26:05 +01:00
synopsys drivers/dw_mmc: migrate to mmc framework 2018-08-10 17:11:12 +08:00
ti/uart drivers: ti: uart: Add TI specific 16550 initialization 2018-06-11 14:26:32 -05:00
ufs drivers: fix switch statements to comply with MISRA rules 2018-03-26 12:43:05 +01:00