>>>>> "JW" == John Williams <[EMAIL PROTECTED]> writes:
Hi, JW> The attached patch gets your uartlite driver going on MicroBlaze. Nice! JW> All readb/writeb ops are converted to ioread32/iowrite32. JW> On MicroBlaze readb/writeb are picking up the MSB, instead of LSB, JW> and thus reading all zeros instead of the 8-bit JW> control/status/FIFO registers that you intended. I take it that the microblaze is big endian? Then you just need to add 3 to the base address and everything should work without your patch. JW> Can you please confirm if this works on PPC? It won't as ioread/write does big/little endian byte swapping. Isn't that done on microblaze? -- Bye, Peter Korsgaard _______________________________________________ Linuxppc-embedded mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-embedded
