hw/block/pflash_cfi02: Use the ldst API in pflash_read()
commit3e4bcf89b7acea62e248ee048c1c67767be88f98
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Sun, 5 May 2019 21:21:19 +0000 (5 23:21 +0200)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 2 Jul 2019 00:31:13 +0000 (2 02:31 +0200)
treeb67fb33d0892e9ad754297d29ece6bc96fdec3e6
parentc3d25271b2117a1416f5818d9d2b399b4e1e77b3
hw/block/pflash_cfi02: Use the ldst API in pflash_read()

The load/store API eases code review.

Signed-off-by: Stephen Checkoway <stephen.checkoway@oberlin.edu>
Message-Id: <20190426162624.55977-3-stephen.checkoway@oberlin.edu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[PMD: Extracted from bigger patch, simplified tracing]
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/block/pflash_cfi02.c