[PATCH 2/2] openrisc: generic board cleanup

Sascha Hauer s.hauer at pengutronix.de
Tue Oct 16 17:33:22 EDT 2012


On Tue, Oct 16, 2012 at 09:54:56PM +0200, Franck Jullien wrote:
> Signed-off-by: Franck Jullien <franck.jullien at 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?

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 |



More information about the barebox mailing list