Re: [Qemu-devel] [PATCH] lsi53c895a: fix endianness issues

2011-01-07 Thread Aurelien Jarno
On Fri, Jan 07, 2011 at 04:21:29PM +, Stefan Hajnoczi wrote: > On Fri, Jan 7, 2011 at 2:43 PM, wrote: > > From: Aurelien Jarno > > > > lsi_ram_read*() and lsi_ram_write*() are not consistent, one uses > > leXX_to_cpu() the other uses nothing. As the comment above the RAM > > declaration says

Re: [Qemu-devel] [PATCH] lsi53c895a: fix endianness issues

2011-01-07 Thread Stefan Hajnoczi
On Fri, Jan 7, 2011 at 2:43 PM, wrote: > From: Aurelien Jarno > > lsi_ram_read*() and lsi_ram_write*() are not consistent, one uses > leXX_to_cpu() the other uses nothing. As the comment above the RAM > declaration says: "Script ram is stored as 32-bit words in host > byteorder.", remove the leX

[Qemu-devel] [PATCH] lsi53c895a: fix endianness issues

2011-01-07 Thread y
From: Aurelien Jarno lsi_ram_read*() and lsi_ram_write*() are not consistent, one uses leXX_to_cpu() the other uses nothing. As the comment above the RAM declaration says: "Script ram is stored as 32-bit words in host byteorder.", remove the leXX_to_cpu() calls. This fixes the boot of an ARM ver