mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-28 04:48:52 +09:00
![Peng Fan](/assets/img/avatar_default.png)
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>
14 lines
295 B
C
14 lines
295 B
C
/*
|
|
* Copyright 2015 Freescale Semiconductor, Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_FSL_LAYERSCAPE_IMX_REGS_H__
|
|
#define __ASM_ARCH_FSL_LAYERSCAPE_IMX_REGS_H__
|
|
|
|
#define I2C_QUIRK_REG /* enable 8-bit driver */
|
|
|
|
#endif /* __ASM_ARCH_FSL_LAYERSCAPE_IMX_REGS_H__ */
|