From patchwork Wed Jun 13 04:46:42 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peter A. G. Crosthwaite" X-Patchwork-Id: 164529 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 91135B6FD1 for ; Wed, 13 Jun 2012 14:38:22 +1000 (EST) Received: from localhost ([::1]:44511 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SefLY-0006Yc-Ab for incoming@patchwork.ozlabs.org; Wed, 13 Jun 2012 00:38:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SefL4-0005j9-Ct for qemu-devel@nongnu.org; Wed, 13 Jun 2012 00:37:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SefL2-0007wc-O7 for qemu-devel@nongnu.org; Wed, 13 Jun 2012 00:37:49 -0400 Received: from mail-pz0-f47.google.com ([209.85.210.47]:56143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SefL2-0007wI-Hq for qemu-devel@nongnu.org; Wed, 13 Jun 2012 00:37:48 -0400 Received: by dalh21 with SMTP id h21so407584dal.34 for ; Tue, 12 Jun 2012 21:37:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :in-reply-to:references:x-gm-message-state; bh=Sc7lanodoZNZfOKvdzZxPPbHesfWdGAZ0dFP3CJOmFQ=; b=OpOeeyJzky3KV3p9QQnLGsAzqb0nJI6tkfTF1DEOiAW+YAcZBinsgB3VJge7uJB4uX FjPCSn55bP499x16d9GOqUQ5ptcObHdglrxFe00QAeobFhQmeyKxdBEC8OQs8v+uIOnk fhloJF3BWoh1m0vdAf9HIeerp4KCa/FEE8Xq6l3IzaCk856q4tPuudAblfDQByt/c8xo dyMamA4py+JfCV1Hs6U56LBBT5WUeZYCMvrJ/miyTl0XPWqik9QMJAWsy1CEu3vnldpw 2FS83NiIfpGyssR7I4smhm/UqYzwDxopaonATeJ1k8uMt/3j+WmNLWmNfxnoWq3ZOr3+ q60A== Received: by 10.68.231.40 with SMTP id td8mr46931889pbc.150.1339562266034; Tue, 12 Jun 2012 21:37:46 -0700 (PDT) Received: from localhost ([124.148.20.9]) by mx.google.com with ESMTPS id oq8sm4374373pbb.23.2012.06.12.21.37.42 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 12 Jun 2012 21:37:45 -0700 (PDT) From: "Peter A. G. Crosthwaite" To: edgar.iglesias@gmail.com, qemu-devel@nongnu.org Date: Wed, 13 Jun 2012 14:46:42 +1000 Message-Id: X-Mailer: git-send-email 1.7.3.2 In-Reply-To: References: In-Reply-To: References: X-Gm-Message-State: ALoCoQlyxwpuEc+C8fxktzSMqLnnlRDINWQmkMDY9w0mNH6g6ySHPqnPT3N6IL1QhzvFVDdhG+W6 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.47 Cc: peter.crosthwaite@petalogix.com, monstr@monstr.eu, john.williams@petalogix.com Subject: [Qemu-devel] [PATCH v2 02/11] xilinx_timer: added default frequency X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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(), };