Blackfin: fix up UART status bit handling
authorMike Frysinger <vapier@gentoo.org>
Wed, 9 Apr 2008 06:02:07 +0000 (02:02 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 23 Oct 2008 09:03:51 +0000 (05:03 -0400)
commitf177f4250c729727b1629fa8d8d6556c999e9b8c
tree14d8b821535468105684893b04244fa3ebe3ea74
parentae0910298f31f5bb3d33a64b8467c60ea3c5d6d0
Blackfin: fix up UART status bit handling

Some Blackfin UARTs are read-to-clear while others are write-to-clear.
This can cause problems when we poll the LSR and then later try and handle
any errors detected.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
cpu/blackfin/serial.c