Re: [U-Boot] [PATCH V2 14/20] serial: lpuart: restructure lpuart driver

2017-02-12 Thread Stefano Babic
On 27/12/2016 11:04, Peng Fan wrote: > 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

Re: [U-Boot] [PATCH V2 14/20] serial: lpuart: restructure lpuart driver

2016-12-29 Thread Bhuvanchandra DV
On 12/27/2016 03:34 PM, Peng Fan wrote: 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/littl

[U-Boot] [PATCH V2 14/20] serial: lpuart: restructure lpuart driver

2016-12-27 Thread Peng Fan
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 u