[U-Boot] [PATCH v6] nios2: convert altera_jtag_uart to driver model

Thomas Chou
2015-09-24T06:58:26Z

On 09/20/2015 04:36 PM, Thomas Chou wrote:
> Convert altera_jtag_uart to driver model.
>
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> Acked-by: Marek Vasut <marex@denx.de>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> ---
> v2
> add ioremap.
> make the change to dts compatible with linux.
>
> v3
> use fdt address translation patch from Stefan Roese.
> fix watchdog and loop as Marek suggested.
>
> v4
> add clear AC flag to probe().
> remove polling loops and watchdog reset because they are
> done in the serial-uclass.c.
>
> v5
> fix coding style as Marek suggested to altera_uart.
>
> v6
> add early debug uart.
> use chosen stdout-path to assign console.
> fix coding style as Simon suggested.
>
> arch/nios2/dts/3c120_devboard.dts | 2 +
> configs/nios2-generic_defconfig | 3 +
> drivers/serial/Kconfig | 26 ++++++
> drivers/serial/altera_jtag_uart.c | 171 +++++++++++++++++++++++++-------------
> include/configs/nios2-generic.h | 3 -
> 5 files changed, 142 insertions(+), 63 deletions(-)

Applied to u-boot-nios.