mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43: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
|
@ -107,6 +107,7 @@ static CPUWriteMemoryFunc * const omap_tap_writefn[] = {
|
|||
void omap_tap_init(struct omap_target_agent_s *ta,
|
||||
struct omap_mpu_state_s *mpu)
|
||||
{
|
||||
omap_l4_attach(ta, 0, l4_register_io_memory(
|
||||
omap_tap_readfn, omap_tap_writefn, mpu));
|
||||
omap_l4_attach(ta, 0, cpu_register_io_memory(
|
||||
omap_tap_readfn, omap_tap_writefn, mpu,
|
||||
DEVICE_NATIVE_ENDIAN));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue