summaryrefslogtreecommitdiff
path: root/hw/omap1_clk.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-04 11:42:11 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-04 11:42:11 +0000
commitb854bc196f5c4b4e3299c0b0ee63cf828ece9e77 (patch)
tree8a8025f3f6b6bbae44a46fd34d43017d5a7d8fe0 /hw/omap1_clk.c
parente616a7e821c477fdb88cc422a8d925e0028e93b5 (diff)
downloadqemu-b854bc196f5c4b4e3299c0b0ee63cf828ece9e77.tar.gz
qemu-b854bc196f5c4b4e3299c0b0ee63cf828ece9e77.tar.bz2
qemu-b854bc196f5c4b4e3299c0b0ee63cf828ece9e77.zip
Make accesses with wrong width also work as apparently real hardware allows them when the fault is disabled.
Fix DMA register writes if target_phys_addr_t is 64-bit. Make more functions static. A timer hack to make PalmOS run in finite time (uses very short timer periods, much shorter than clocksource tick). Re-calculate internal clock rates on start-up. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3527 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/omap1_clk.c')
-rw-r--r--hw/omap1_clk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/omap1_clk.c b/hw/omap1_clk.c
index 7888e41553..c8540de70f 100644
--- a/hw/omap1_clk.c
+++ b/hw/omap1_clk.c
@@ -742,4 +742,8 @@ void omap_clk_init(struct omap_mpu_state_s *mpu)
j->multiplier = j->multiplier ?: 1;
j ++;
}
+ for (j = mpu->clks; count --; j ++) {
+ omap_clk_update(j);
+ omap_clk_rate_update(j);
+ }
}