> Date: Sun, 5 Mar 2017 13:05:24 +0100 > From: Patrick Wildt <[email protected]> > > On Sun, Mar 05, 2017 at 12:33:57PM +0100, Mark Kettenis wrote: > > Diff below makes the console on the odroid-xu4 actually work. I don't > > completely understand the current code. It doesn't check whether a > > character can be written before doing so. Instead it tries to make > > sure the transmission of the character completes. But that seems to > > fail, possibly because the code tries to cater for both FIFO and > > non-FIFO mode. Since u-boot puts the chip into FIFO mode, I think we > > can simply check whether there is room in the FIFO before we transmit > > and be done with it. > > > > ok? > > I don't think anyone ever used that code. Specifically because my > Chromebook did not have a UART (that I found). Reads fine to me.
Heh. Looking at the code I have some doubts things will work after init(8) opens the console.
