mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
omap: eliminate l4_register_io_memory
This is a trivial wrapper around cpu_register_io_memory(), adding no value. Inline it into all callers. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
92c0bba9a9
commit
a56e423c7c
10 changed files with 30 additions and 38 deletions
|
@ -1037,14 +1037,14 @@ struct omap_dss_s *omap_dss_init(struct omap_target_agent_s *ta,
|
|||
s->drq = drq;
|
||||
omap_dss_reset(s);
|
||||
|
||||
iomemtype[0] = l4_register_io_memory(omap_diss1_readfn,
|
||||
omap_diss1_writefn, s);
|
||||
iomemtype[1] = l4_register_io_memory(omap_disc1_readfn,
|
||||
omap_disc1_writefn, s);
|
||||
iomemtype[2] = l4_register_io_memory(omap_rfbi1_readfn,
|
||||
omap_rfbi1_writefn, s);
|
||||
iomemtype[3] = l4_register_io_memory(omap_venc1_readfn,
|
||||
omap_venc1_writefn, s);
|
||||
iomemtype[0] = cpu_register_io_memory(omap_diss1_readfn,
|
||||
omap_diss1_writefn, s, DEVICE_NATIVE_ENDIAN);
|
||||
iomemtype[1] = cpu_register_io_memory(omap_disc1_readfn,
|
||||
omap_disc1_writefn, s, DEVICE_NATIVE_ENDIAN);
|
||||
iomemtype[2] = cpu_register_io_memory(omap_rfbi1_readfn,
|
||||
omap_rfbi1_writefn, s, DEVICE_NATIVE_ENDIAN);
|
||||
iomemtype[3] = cpu_register_io_memory(omap_venc1_readfn,
|
||||
omap_venc1_writefn, s, DEVICE_NATIVE_ENDIAN);
|
||||
iomemtype[4] = cpu_register_io_memory(omap_im3_readfn,
|
||||
omap_im3_writefn, s, DEVICE_NATIVE_ENDIAN);
|
||||
omap_l4_attach(ta, 0, iomemtype[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue