apalis_imx6: disable ri and dcd irq in uarts
authorMax Krummenacher <max.krummenacher@toradex.com>
Fri, 8 Feb 2019 17:12:21 +0000 (18:12 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 13 Apr 2019 18:30:08 +0000 (20:30 +0200)
commit389f61ef44fd032ae5efd3995623842d9281b4c1
tree7e7e141635d260cf3b359800f9ec49e0ba9ab9b4
parentb4707a25d0e2e66b25a027597217fec68ccade22
apalis_imx6: disable ri and dcd irq in uarts

If the UART is used in DTE mode the RI and DCD bits in UCR3 become
irq enable bits. Both are set to enabled after reset and both likely
are pending.

Disable the bits also on UARTs not used in the boot loader to prevent
an interrupt storm when Linux enables the UART interrupts.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
board/toradex/apalis_imx6/apalis_imx6.c