> -----Original Message----- > From: Peng Fan [mailto:[email protected]] > Sent: Wednesday, February 22, 2017 4:22 PM > To: [email protected] > Cc: [email protected]; Peng Fan <[email protected]>; Bhuvanchandra DV > <[email protected]>; york sun <[email protected]>; Shaohui > Xie <[email protected]>; Alison Wang <[email protected]> > Subject: [PATCH V3 13/19] serial: lpuart: restructure lpuart driver > > Drop CONFIG_LPUART_32B_REG. > Move the register structure to a common file include/fsl_lpuart.h > Define lpuart_serial_platdata structure which includes the reg base and > flags. > For 32Bit register access, use lpuart_read32/lpuart_write32 which > handles big/little endian. > For 8Bit register access, still use the orignal code. > > Signed-off-by: Peng Fan <[email protected]> Reviewed-by : Stefano Babic > <[email protected]> > Cc: Bhuvanchandra DV <[email protected]> > Cc: York Sun <[email protected]> > Cc: Shaohui Xie <[email protected]> > Cc: Alison Wang <[email protected]> > --- > V3: > add review tag > V2: > New. I do not have vf610 and LSx board, please help test if you have > the board. > > arch/arm/cpu/armv7/vf610/generic.c | 5 + > .../arm/include/asm/arch-fsl-layerscape/imx-regs.h | 42 ---- > arch/arm/include/asm/arch-ls102xa/imx-regs.h | 40 --- > arch/arm/include/asm/arch-vf610/clock.h | 1 + > arch/arm/include/asm/arch-vf610/imx-regs.h | 28 --- > drivers/serial/serial_lpuart.c | 267 +++++++++++-- > -------- > 6 files changed, 148 insertions(+), 235 deletions(-) > [Alison Wang] Reviewed-by: Alison Wang <[email protected]>
Best Regards, Alison Wang _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

