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:
Avi Kivity 2011-11-23 14:58:10 +02:00
parent 92c0bba9a9
commit a56e423c7c
10 changed files with 30 additions and 38 deletions

View file

@ -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));
}