[RFC] uartlite driver MicroBlaze compatability

John Williams jwilliams at itee.uq.edu.au
Tue May 1 14:55:18 EST 2007


Hi Peter,

The attached patch gets your uartlite driver going on MicroBlaze.

All readb/writeb ops are converted to ioread32/iowrite32.

On MicroBlaze readb/writeb are picking up the MSB, instead of LSB, and 
thus reading all zeros instead of the 8-bit control/status/FIFO 
registers that you intended.

Can you please confirm if this works on PPC?

I note that Grant's recent bootloader driver uses in_be32/out_be32 - 
would you prefer that instead of ioread32/iowrite32?

Thanks,

John
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 00001-uartlite-32bit-ops.patch
Url: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20070501/835a6b5c/attachment.txt 


More information about the Linuxppc-embedded mailing list