diff options
-rw-r--r-- | hw/omap2.c | 1 | ||||
-rw-r--r-- | hw/omap_dss.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap2.c b/hw/omap2.c index 58debaf552..01b7d52c21 100644 --- a/hw/omap2.c +++ b/hw/omap2.c @@ -3898,7 +3898,6 @@ struct omap_sysctl_s *omap_sysctl_init(struct omap_target_agent_s *ta, iomemtype = l4_register_io_memory(0, omap_sysctl_readfn, omap_sysctl_writefn, s); omap_l4_attach(ta, 0, iomemtype); - omap_l4_attach(ta, 0, iomemtype); return s; } diff --git a/hw/omap_dss.c b/hw/omap_dss.c index 87c91aa7f0..8fcb19ccdf 100644 --- a/hw/omap_dss.c +++ b/hw/omap_dss.c @@ -1049,6 +1049,7 @@ struct omap_dss_s *omap_dss_init(struct omap_target_agent_s *ta, omap_im3_writefn, s); omap_l4_attach(ta, 0, iomemtype[0]); omap_l4_attach(ta, 1, iomemtype[1]); + omap_l4_attach(ta, 2, iomemtype[2]); omap_l4_attach(ta, 3, iomemtype[3]); cpu_register_physical_memory(l3_base, 0x1000, iomemtype[4]); |