diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2019-05-01 18:14:25 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@redhat.com> | 2019-07-02 02:31:13 +0200 |
commit | 1d311e738b223452bbfb8ce10cc3327db7bca3ee (patch) | |
tree | 3c1497378459ff41a097d0a6716cd4e2ad1151d1 /scsi | |
parent | aeaf6c20dbcfed5c459d9f6b39cb5fa2187f0b29 (diff) |
hw/block/pflash_cfi02: Add helpers to manipulate the status bits
Pull out all of the code to modify the status into simple helper
functions. Status handling becomes more complex once multiple
chips are interleaved to produce a single device.
No change in functionality is intended with this commit.
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>
Diffstat (limited to 'scsi')
0 files changed, 0 insertions, 0 deletions