From: Franck Jullien <franck.jullien@gmail.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 2/2] openrisc: generic board cleanup
Date: Wed, 17 Oct 2012 08:10:29 +0200 [thread overview]
Message-ID: <CAJfOKBy4r1iM983z4aY5LEZDJR+a+_1pDytLmPG+YUESpB+0kQ@mail.gmail.com> (raw)
In-Reply-To: <20121016213322.GE27665@pengutronix.de>
2012/10/16 Sascha Hauer <s.hauer@pengutronix.de>:
> On Tue, Oct 16, 2012 at 09:54:56PM +0200, Franck Jullien wrote:
>> Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
>> ---
>> 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
next prev parent reply other threads:[~2012-10-17 6:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-16 19:54 [PATCH 0/2] openrisc: cleanup generic board Franck Jullien
2012-10-16 19:54 ` [PATCH 1/2] openrisc: switch to defaultenv-2 and change boardinfo Franck Jullien
2012-10-16 19:54 ` [PATCH 2/2] openrisc: generic board cleanup Franck Jullien
2012-10-16 21:33 ` Sascha Hauer
2012-10-17 6:10 ` Franck Jullien [this message]
2012-10-21 8:57 ` [PATCH 0/2] openrisc: cleanup generic board Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJfOKBy4r1iM983z4aY5LEZDJR+a+_1pDytLmPG+YUESpB+0kQ@mail.gmail.com \
--to=franck.jullien@gmail.com \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox