2012/10/16 Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>: > On Tue, Oct 16, 2012 at 09:54:56PM +0200, Franck Jullien wrote: >> Signed-off-by: Franck Jullien <franck.jullien@xxxxxxxxx> >> --- >> 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@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox