From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Thu, 24 Sep 2015 14:58:26 +0800 Subject: [U-Boot] [PATCH v6] nios2: convert altera_jtag_uart to driver model In-Reply-To: <1442738162-18585-1-git-send-email-thomas@wytron.com.tw> References: <1442302126-9104-1-git-send-email-thomas@wytron.com.tw> <1442738162-18585-1-git-send-email-thomas@wytron.com.tw> Message-ID: <56039F12.6030604@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/20/2015 04:36 PM, Thomas Chou wrote: > Convert altera_jtag_uart to driver model. > > Signed-off-by: Thomas Chou > Acked-by: Marek Vasut > Reviewed-by: Simon Glass > --- > 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.