Collapse omap peripherals on L4 bus into one io entry (temporarily).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4489 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
balrog 2008-05-18 12:14:41 +00:00
parent 4eeed608c5
commit c66fb5bc0a
5 changed files with 148 additions and 20 deletions

View file

@ -526,7 +526,7 @@ struct omap_i2c_s *omap2_i2c_init(struct omap_target_agent_s *ta,
s->bus = i2c_init_bus();
omap_i2c_reset(s);
iomemtype = cpu_register_io_memory(0, omap_i2c_readfn,
iomemtype = l4_register_io_memory(0, omap_i2c_readfn,
omap_i2c_writefn, s);
s->base = omap_l4_attach(ta, 0, iomemtype);