From patchwork Tue Jun 19 13:31:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 165733 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 62C81B700B for ; Wed, 20 Jun 2012 00:11:43 +1000 (EST) Received: from localhost ([::1]:55338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgywQ-0000Tr-S3 for incoming@patchwork.ozlabs.org; Tue, 19 Jun 2012 09:57:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgyvJ-0006Tp-6h for qemu-devel@nongnu.org; Tue, 19 Jun 2012 09:56:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgyvE-00074c-6W for qemu-devel@nongnu.org; Tue, 19 Jun 2012 09:56:48 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:44844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgyvD-00072F-Ve for qemu-devel@nongnu.org; Tue, 19 Jun 2012 09:56:44 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1SgyWZ-0003sO-0z; Tue, 19 Jun 2012 14:31:15 +0100 From: Peter Maydell To: Blue Swirl Date: Tue, 19 Jun 2012 14:31:12 +0100 Message-Id: <1340112673-14846-16-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1340112673-14846-1-git-send-email-peter.maydell@linaro.org> References: <1340112673-14846-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 81.2.115.146 Cc: Anthony Liguori , qemu-devel@nongnu.org, Paul Brook Subject: [Qemu-devel] [PATCH 15/16] cadence_ttc: changed master clock 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 From: Peter A. G. Crosthwaite Change the timer clock frequency to 133MHz which is correct. the old 2.5MHz value was for the pre-silicon emulation platform. Signed-off-by: Peter A. G. Crosthwaite Signed-off-by: Peter Maydell --- hw/cadence_ttc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/cadence_ttc.c b/hw/cadence_ttc.c index 2b5477b..dd02f86 100644 --- a/hw/cadence_ttc.c +++ b/hw/cadence_ttc.c @@ -405,7 +405,7 @@ static int cadence_ttc_init(SysBusDevice *dev) int i; for (i = 0; i < 3; ++i) { - cadence_timer_init(2500000, &s->timer[i]); + cadence_timer_init(133000000, &s->timer[i]); sysbus_init_irq(dev, &s->timer[i].irq); }