]> git.proxmox.com Git - qemu.git/commit
lsi53c895a: fix endianness issues
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 14 Jan 2011 19:39:18 +0000 (20:39 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 14 Jan 2011 19:39:18 +0000 (20:39 +0100)
commit3bd4be3ada596bbed81fe955c963bb6a64335011
tree8bf8e990dd35d3d6a629c6e9d12b9a0eaf093c3e
parentd30df5cec94cc165d76ccabb0d1847357178795e
lsi53c895a: fix endianness issues

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 versatile machine on MIPS and PowerPC
hosts.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/lsi53c895a.c