[U-Boot] [PATCH v6 04/14] serial: add serial driver for BCM6345

Simon Glass
2017-04-29T00:27:13Z

On 24 April 2017 at 16:39, Álvaro Fernández Rojas <noltari@gmail.com> wrote:
> It is based on linux/drivers/tty/serial/bcm63xx_uart.c
>
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
> ---
> v6: Introduce changes suggested by Daniel Schwierzeck:
> - Use clr/set bits macros.
> - Use read/write instead of __raw_read/__raw_write.
> - Fix function comments.
> - Remove return parenthesis.
> - Simplify bcm6345_serial_pending return.
> - Add missing defines.
> v5: No changes.
> v4: Add more missing register configurations based on CFE.
> v3: Several improvements:
> - Add missing register configurations based on CFE.
> - Replace tabs with whitespaces.
> - Cosmetic fixes.
> v2: Introduce changes suggested by Daniel Schwierzeck:
> - Remove unneeded defines.
> - Fix incorrect multi-line comment.
>
> drivers/serial/Kconfig | 14 ++
> drivers/serial/Makefile | 1 +
> drivers/serial/serial_bcm6345.c | 300 ++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 315 insertions(+)
> create mode 100644 drivers/serial/serial_bcm6345.c

Reviewed-by: Simon Glass <sjg@chromium.org>