diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2020-01-29 20:27:49 +1100 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2020-06-02 10:40:21 -0500 |
commit | e7cad754fd0bf00c671a1509acc2981f11736ee8 (patch) | |
tree | 03e81352fba4bf27af964a8b99ff1efbdc8d55d1 /hw/arm | |
parent | d50aa8acbc6f4bd83d0d0b5958d49ac6baf254a5 (diff) | |
download | qemu-e7cad754fd0bf00c671a1509acc2981f11736ee8.zip qemu-e7cad754fd0bf00c671a1509acc2981f11736ee8.tar.gz qemu-e7cad754fd0bf00c671a1509acc2981f11736ee8.tar.bz2 |
dp8393x: Use long-word-aligned RRA pointers in 32-bit mode
Section 3.4.1 of the datasheet says,
The alignment of the RRA is confined to either word or long word
boundaries, depending upon the data width mode. In 16-bit mode,
the RRA must be aligned to a word boundary (A0 is always zero)
and in 32-bit mode, the RRA is aligned to a long word boundary
(A0 and A1 are always zero).
This constraint has been implemented for 16-bit mode; implement it
for 32-bit mode too.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Tested-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
(cherry picked from commit ea2270279bc2e1635cb6e909e22e17e630198773)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'hw/arm')
0 files changed, 0 insertions, 0 deletions