diff options
author | Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> | 2012-06-13 14:46:42 +1000 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2012-06-15 13:08:13 +0200 |
commit | 8d4eb373f7e32305af2a0e04bbc24fa3494ffe6f (patch) | |
tree | 675acba5fff7a40d234c82bca234dc1517f15bbe /hw | |
parent | 23d6055eb4f1ad7001e577b3c64a25a64d4908ee (diff) | |
download | hqemu-8d4eb373f7e32305af2a0e04bbc24fa3494ffe6f.zip hqemu-8d4eb373f7e32305af2a0e04bbc24fa3494ffe6f.tar.gz |
xilinx_timer: added default frequency
Added a reasonable default frequency for the xilinx timer (the 62MHz from
s3adsp machine model).
Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xilinx_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xilinx_timer.c b/hw/xilinx_timer.c index 3ab2f2b..e9fde28 100644 --- a/hw/xilinx_timer.c +++ b/hw/xilinx_timer.c @@ -220,7 +220,7 @@ static int xilinx_timer_init(SysBusDevice *dev) } static Property xilinx_timer_properties[] = { - DEFINE_PROP_UINT32("frequency", struct timerblock, freq_hz, 0), + DEFINE_PROP_UINT32("frequency", struct timerblock, freq_hz, 62 * 1000000), DEFINE_PROP_UINT32("nr-timers", struct timerblock, nr_timers, 0), DEFINE_PROP_END_OF_LIST(), }; |