From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-qa0-f49.google.com ([209.85.216.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TOMps-0004gr-8y for barebox@lists.infradead.org; Wed, 17 Oct 2012 06:10:33 +0000 Received: by mail-qa0-f49.google.com with SMTP id a17so178262qae.15 for ; Tue, 16 Oct 2012 23:10:29 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20121016213322.GE27665@pengutronix.de> References: <1350417296-26963-1-git-send-email-franck.jullien@gmail.com> <1350417296-26963-3-git-send-email-franck.jullien@gmail.com> <20121016213322.GE27665@pengutronix.de> Date: Wed, 17 Oct 2012 08:10:29 +0200 Message-ID: From: Franck Jullien List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 2/2] openrisc: generic board cleanup To: Sascha Hauer Cc: barebox@lists.infradead.org 2012/10/16 Sascha Hauer : > On Tue, Oct 16, 2012 at 09:54:56PM +0200, Franck Jullien wrote: >> Signed-off-by: Franck Jullien >> --- >> arch/openrisc/boards/generic/config.h | 7 +++---- >> arch/openrisc/boards/generic/generic.c | 2 +- >> 2 files changed, 4 insertions(+), 5 deletions(-) >> >> diff --git a/arch/openrisc/boards/generic/config.h b/arch/openrisc/boards/generic/config.h >> index 88d2929..95260cd 100644 >> --- a/arch/openrisc/boards/generic/config.h >> +++ b/arch/openrisc/boards/generic/config.h >> @@ -1,16 +1,15 @@ >> #ifndef _GENERIC_NAMES_H_ >> #define _GENERIC_NAMES_H_ >> >> -#define CONFIG_SYS_CLK_FREQ 20000000 >> +#define CONFIG_SYS_CLK_FREQ 50000000 >> >> -#define OPENRISC_TIMER_FREQ 20000000 >> +#define OPENRISC_TIMER_FREQ CONFIG_SYS_CLK_FREQ > > The timer frequency changes from 20MHz to 50MHz. Is this intended? > Yes it is, 50MHz is the frequency the CPU is running most of the time. However, it's not really important since this is a generic board. The important thing is that OPENRISC_TIMER_FREQ = CONFIG_SYS_CLK_FREQ. > Sascha > > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | Franck. _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox