Re: [U-Boot] [PATCH 1/2] arm: vf610: lpuart: fix status register handling

2014-09-09 Thread Stefano Babic
On 19/08/2014 17:54, Stefan Agner wrote: The status register 1 (S1) is not writeable, hence we should not write it. In order to clear the RDRF flag we only need to read the data register. Also, when stressing U-Boot a lot with serial input, an overflow can occur which asserts the S1_OR flag

[U-Boot] [PATCH 1/2] arm: vf610: lpuart: fix status register handling

2014-08-19 Thread Stefan Agner
The status register 1 (S1) is not writeable, hence we should not write it. In order to clear the RDRF flag we only need to read the data register. Also, when stressing U-Boot a lot with serial input, an overflow can occur which asserts the S1_OR flag (while not asserting the S1_RDRF flag). To