]> git.baikalelectronics.ru Git - uboot.git/commit
serial_lpuart: Update lpuart driver to support i.MX8
authorPeng Fan <peng.fan@nxp.com>
Thu, 18 Oct 2018 12:28:31 +0000 (14:28 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 22 Oct 2018 10:59:02 +0000 (12:59 +0200)
commitfeac64ae2173dd635065fe7663a4bcdd1e1b32d1
tree0a4a56c06286ecec42f05b124722b812c310fa5a
parentd49a6ea681ceef43cebfac0336421dc2c76fa5b1
serial_lpuart: Update lpuart driver to support i.MX8

Add i.MX8 compatible string and cpu type support to lpuart driver,
to use little endian 32 bits configurations.

Also, according to RM, the Receive FIFO Enable (RXFE) field in LPUART
FIFO register is bit 3, so this definition should change to 0x08
(not 0x40) for i.MX8, otherwise the Receive FIFO is not disabled.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
drivers/serial/serial_lpuart.c
include/fsl_lpuart.h