Minor fixes to PL011 UART
Zbigniew Bodek
zbb at semihalf.com
Wed Dec 10 22:14:12 UTC 2014
Hello,
We have few minor fixes to ARM PL011 driver. The patch is attached to
this e-mail.
One change that might be considered controversial is adding
uart_barrier() to each __uart_write().
In other UART drivers uart_barrier() is used after every uart_write()
unless the write is related to the same register (but the other half).
In our case it would be necessary to add barrier after each write
anyway (if we like to follow this barrier convention)...
Nevertheless, please test and let me know what do you think.
I would like to push this by Monday.
Thanks and best regards
zbb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-some-obvious-mistakes-in-ARM-PL011-UART.patch
Type: text/x-patch
Size: 4574 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20141210/dd4a6a97/attachment.bin>
More information about the freebsd-arm
mailing list