]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitc5786432e63c5ada4dfe287b2c2836ac09781dc3
tree1495f76f5aaf476bfefa79a1856922a3be5049f9
parent2b1d15e9bfba0c2a5a20a926a3c8ef5ccd3eaffb
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