mbox series

[0/6] convert some omap/palm devices from using old_mmio

Message ID 1505580378-9044-1-git-send-email-peter.maydell@linaro.org
Headers show
Series convert some omap/palm devices from using old_mmio | expand

Message

Peter Maydell Sept. 16, 2017, 4:46 p.m. UTC
This patchset converts a handful of old devices from the old_mmio
fields in MemoryRegionOps. We don't have very many devices still
using old_mmio, so it would be nice to get rid of the remainder
and drop the field entirely at some point.

(You could argue that really we should mark some of these old
boards as obsolete and eventually delete them. I don't actually
have a test image for the palm stuff at all...)

thanks
-- PMM

Peter Maydell (6):
  hw/arm/palm.c: Don't use old_mmio for static_ops
  hw/gpio/omap_gpio.c: Don't use old_mmio
  hw/timer/omap_synctimer.c: Don't use old_mmio
  hw/timer/omap_gptimer: Don't use old_mmio
  hw/i2c/omap_i2c.c: Don't use old_mmio
  hw/arm/omap2.c: Don't use old_mmio

 hw/arm/omap2.c            | 49 +++++++++++++++++++++++++++++++++++------------
 hw/arm/palm.c             | 30 ++++++++++-------------------
 hw/gpio/omap_gpio.c       | 26 ++++++++++++-------------
 hw/i2c/omap_i2c.c         | 44 ++++++++++++++++++++++++++++++------------
 hw/timer/omap_gptimer.c   | 49 +++++++++++++++++++++++++++++++++++------------
 hw/timer/omap_synctimer.c | 35 +++++++++++++++++++--------------
 6 files changed, 149 insertions(+), 84 deletions(-)

Comments

Mark Cave-Ayland Sept. 17, 2017, 1:21 p.m. UTC | #1
On 16/09/17 17:46, Peter Maydell wrote:

> This patchset converts a handful of old devices from the old_mmio
> fields in MemoryRegionOps. We don't have very many devices still
> using old_mmio, so it would be nice to get rid of the remainder
> and drop the field entirely at some point.

That reminds me - the macio IDE controller still uses old_mmio
accessors. I'm currently working around that area so I'll see if I can
slip a conversion into my next patchset.


ATB,

Mark.