diff options
author | Avi Kivity <avi@redhat.com> | 2011-11-28 15:37:30 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-11-28 15:38:47 +0200 |
commit | a6dbd3c83622fc0156e17c0d2fab54fe79afd07f (patch) | |
tree | 8d6370b23b170893974e07f254ad7dec361229c2 /hw/omap_l4.c | |
parent | 748781390916caa6a8258ed89524a82e508efadc (diff) |
omap_l4: remove omap_l4_attach()
No longer used.
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/omap_l4.c')
-rw-r--r-- | hw/omap_l4.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/hw/omap_l4.c b/hw/omap_l4.c index cf4b971f22..78f02d993e 100644 --- a/hw/omap_l4.c +++ b/hw/omap_l4.c @@ -143,26 +143,6 @@ struct omap_target_agent_s *omap_l4ta_get(struct omap_l4_s *bus, return ta; } -target_phys_addr_t omap_l4_attach(struct omap_target_agent_s *ta, int region, - int iotype) -{ - target_phys_addr_t base; - ssize_t size; - - if (region < 0 || region >= ta->regions) { - fprintf(stderr, "%s: bad io region (%i)\n", __FUNCTION__, region); - exit(-1); - } - - base = ta->bus->base + ta->start[region].offset; - size = ta->start[region].size; - if (iotype) { - cpu_register_physical_memory(base, size, iotype); - } - - return base; -} - target_phys_addr_t omap_l4_attach_region(struct omap_target_agent_s *ta, int region, MemoryRegion *mr) { |