hw/block/pflash_cfi02: Use the ldst API in pflash_write()
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Sun, 5 May 2019 21:14:29 +0000 (23:14 +0200)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 2 Jul 2019 00:31:13 +0000 (02:31 +0200)
commitc3d25271b2117a1416f5818d9d2b399b4e1e77b3
tree58067c500da912dd49b1a8a48a08a6c718662f5f
parent7f7bdcaff5ad88a79257d6b28f95d0491b7f9002
hw/block/pflash_cfi02: Use the ldst API in pflash_write()

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]
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/block/pflash_cfi02.c