> -----Original Message----- > From: Peng Fan [mailto:peng....@nxp.com] > Sent: Wednesday, February 22, 2017 4:22 PM > To: sba...@denx.de > Cc: u-boot@lists.denx.de; Peng Fan <peng....@nxp.com>; Bhuvanchandra DV > <bhuvanchandra...@toradex.com>; york sun <york....@nxp.com>; Shaohui > Xie <shaohui....@nxp.com>; Alison Wang <b18...@freescale.com> > 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 <peng....@nxp.com> Reviewed-by : Stefano Babic > <sba...@denx.de> > Cc: Bhuvanchandra DV <bhuvanchandra...@toradex.com> > Cc: York Sun <york....@nxp.com> > Cc: Shaohui Xie <shaohui....@nxp.com> > Cc: Alison Wang <b18...@freescale.com> > --- > 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 <alison.w...@nxp.com>
Best Regards, Alison Wang _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot