]> git.dujemihanovic.xyz Git - u-boot.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)
commit126f884903b647f2c349d0e756d70db3b5144249
tree0a4a56c06286ecec42f05b124722b812c310fa5a
parentf77d441091a277920d893c82c5811c552385af57
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