Re: [Qemu-devel] [PATCH v5 11/28] hw/block/pflash_cfi02: Unify the MemoryRegionOps

2019-06-28 Thread Alistair Francis
On Thu, Jun 27, 2019 at 1:37 PM Philippe Mathieu-Daudé wrote: > > The pflash_read()/pflash_write() can check the device endianess > via the pfl->be variable, so remove the 'int be' argument. > > Since the big/little MemoryRegionOps are now identical, it is > pointless to declare them both. Unify t

[Qemu-devel] [PATCH v5 11/28] hw/block/pflash_cfi02: Unify the MemoryRegionOps

2019-06-27 Thread Philippe Mathieu-Daudé
The pflash_read()/pflash_write() can check the device endianess via the pfl->be variable, so remove the 'int be' argument. Since the big/little MemoryRegionOps are now identical, it is pointless to declare them both. Unify them. Signed-off-by: Stephen Checkoway Message-Id: <20190426162624.55977-