diff options
author | Peng Fan <peng.fan@nxp.com> | 2017-02-22 08:21:51 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-03-17 08:27:08 (GMT) |
commit | c40d612b1a6e1c63f27089d1d8fa3016164cacdb (patch) | |
tree | 40ca0a2e0d0251238aa36340754a3c12a9214000 /arch/arm/cpu/armv7/psci.S | |
parent | 7ee3f149fe776d3e46dbb517bf04ee29ec075709 (diff) | |
download | u-boot-c40d612b1a6e1c63f27089d1d8fa3016164cacdb.tar.xz |
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.fan@nxp.com>
Reviewed-by : Stefano Babic <sbabic@denx.de>
Cc: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Cc: York Sun <york.sun@nxp.com>
Cc: Shaohui Xie <Shaohui.Xie@nxp.com>
Cc: Alison Wang <b18965@freescale.com>
Diffstat (limited to 'arch/arm/cpu/armv7/psci.S')
0 files changed, 0 insertions, 0 deletions