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

2015-09-17 Thread Thomas Chou
Convert altera_uart to driver model. Signed-off-by: Thomas Chou --- arch/nios2/dts/3c120_devboard.dts | 1 + drivers/serial/Kconfig| 6 ++ drivers/serial/altera_uart.c | 153 ++ include/configs/nios2-generic.h |

Re: [U-Boot] [PATCH] nios2: convert altera_uart to driver model

2015-09-17 Thread Marek Vasut
On Friday, September 18, 2015 at 05:24:18 AM, Thomas Chou wrote: > Convert altera_uart to driver model. > > Signed-off-by: Thomas Chou > --- Hi! minor nitpicks below :) > -typedef volatile struct { > +struct altera_uart_regs { > unsignedrxdata; /*

Re: [U-Boot] [PATCH] nios2: convert altera_uart to driver model

2015-09-17 Thread Simon Glass
Hi, On 17 September 2015 at 21:29, Marek Vasut wrote: > > On Friday, September 18, 2015 at 05:24:18 AM, Thomas Chou wrote: > > Convert altera_uart to driver model. > > > > Signed-off-by: Thomas Chou > > --- > > Hi! > > minor nitpicks below :) Looks good to