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

Thomas Chou thomas at wytron.com.tw
Thu Sep 24 08:58:26 CEST 2015



On 09/20/2015 04:36 PM, Thomas Chou wrote:
> Convert altera_jtag_uart to driver model.
>
> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
> Acked-by: Marek Vasut <marex at denx.de>
> Reviewed-by: Simon Glass <sjg at 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.


More information about the U-Boot mailing list