colibri imx6: disable ri and dcd irq in uarts
authorMax Krummenacher <max.krummenacher@toradex.com>
Fri, 8 Feb 2019 17:42:21 +0000 (18:42 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 13 Apr 2019 18:30:09 +0000 (20:30 +0200)
commit08621424ce3b8ce99c22df4b2b4a13ce89fa40a1
tree1495f76f5aaf476bfefa79a1856922a3be5049f9
parentc508d22abbf0bcf2ee0fe649810ed62dcb58acaa
colibri 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/colibri_imx6/colibri_imx6.c