From patchwork Wed Jun 13 04:46:42 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v2,02/11] xilinx_timer: added default frequency X-Patchwork-Submitter: "Peter A. G. Crosthwaite" X-Patchwork-Id: 164529 Message-Id: To: edgar.iglesias@gmail.com, qemu-devel@nongnu.org Cc: peter.crosthwaite@petalogix.com, monstr@monstr.eu, john.williams@petalogix.com Date: Wed, 13 Jun 2012 14:46:42 +1000 From: "Peter A. G. Crosthwaite" List-Id: Added a reasonable default frequency for the xilinx timer (the 62MHz from s3adsp machine model). Signed-off-by: Peter A. G. Crosthwaite --- 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(), };