diff options
author | Giulio Benetti <giulio.benetti@benettiengineering.com> | 2020-01-10 17:51:43 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-01-15 00:54:00 +0300 |
commit | c32449a161cb2280553bddc8346817c043e99f4f (patch) | |
tree | 4f044b35f6f47b8408d26729f6baf8e220f2c6f4 /include/fsl_lpuart.h | |
parent | 55631db8bd6d63d4049ca7301f06aaa0e6e6824e (diff) | |
download | u-boot-c32449a161cb2280553bddc8346817c043e99f4f.tar.xz |
serial_lpuart: add support for i.MXRT
Add i.MXRT compatible string and cpu type support to lpuart driver,
to use little endian 32 bits configurations.
Also according to RM, the Receive RX FIFO Enable (RXFE) field in LPUART
FIFO register is bit 3, so this definition should change to 0x08 as done
for i.MX8. It needs also to set baudrate the same way as i.MX8 does.
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Diffstat (limited to 'include/fsl_lpuart.h')
-rw-r--r-- | include/fsl_lpuart.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/fsl_lpuart.h b/include/fsl_lpuart.h index fc517d4b7f..511fb84367 100644 --- a/include/fsl_lpuart.h +++ b/include/fsl_lpuart.h @@ -4,7 +4,8 @@ * */ -#if defined(CONFIG_ARCH_MX7ULP) || defined(CONFIG_ARCH_IMX8) +#if defined(CONFIG_ARCH_MX7ULP) || defined(CONFIG_ARCH_IMX8) || \ + defined(CONFIG_ARCH_IMXRT) struct lpuart_fsl_reg32 { u32 verid; u32 param; |