From 8d4eb373f7e32305af2a0e04bbc24fa3494ffe6f Mon Sep 17 00:00:00 2001 From: "Peter A. G. Crosthwaite" Date: Wed, 13 Jun 2012 14:46:42 +1000 Subject: [PATCH] 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 Signed-off-by: Edgar E. Iglesias --- hw/xilinx_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xilinx_timer.c b/hw/xilinx_timer.c index 3ab2f2bb03..e9fde2870d 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(), }; -- 2.34.1