summaryrefslogtreecommitdiff
path: root/target-m68k
diff options
context:
space:
mode:
authorAndreas Färber <andreas.faerber@web.de>2013-02-11 17:41:54 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2013-02-11 13:22:48 -0600
commitd0bce760e04b1658a3b4ac95be2839ae20fd86db (patch)
tree808a63cb6b2b15f3c978f96c250ffd80525dd2c2 /target-m68k
parent5dd6be069bf832f888005d28cebdec16720dedac (diff)
libi2c-omap: Fix endianness dependency
The libqos driver for omap_i2c currently does not work on Big Endian. Introduce helpers for reading from and writing to 16-bit armel registers. This fixes tmp105-test failures on ppc. To prepare for a QTest-level endianness solution, poison mem{read,write} and always use the helpers. Adopt the expected signatures. To avoid an unused variable warning, assert the STAT Single Byte Data bit but, due to it not getting cleared, only it being set when len == 1. Signed-off-by: Andreas Färber <andreas.faerber@web.de> Message-id: 1360600914-5448-3-git-send-email-afaerber@suse.de Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-m68k')
0 files changed, 0 insertions, 0 deletions