From 9f07dedeb0f20108252a9af462f398a04709f1a3 Mon Sep 17 00:00:00 2001 From: Daniel Gorsulowski Date: Mon, 9 Aug 2010 11:17:13 +0200 Subject: [PATCH] at91: Defined main clock frequency on esd at91 boards Autodetection is undesired now Signed-off-by: Daniel Gorsulowski Signed-off-by: Reinhard Meyer --- include/configs/meesc.h | 3 ++- include/configs/otc570.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/configs/meesc.h b/include/configs/meesc.h index e085f4a47..dad0bef11 100644 --- a/include/configs/meesc.h +++ b/include/configs/meesc.h @@ -3,7 +3,7 @@ * Stelian Pop * Lead Tech Design * - * (C) Copyright 2009 + * (C) Copyright 2009-2010 * Daniel Gorsulowski * esd electronic system design gmbh * @@ -38,6 +38,7 @@ #define CONFIG_MEESC 1 /* Board is esd MEESC */ #define CONFIG_ARM926EJS 1 /* This is an ARM926EJS Core */ #define CONFIG_AT91SAM9263 1 /* It's an AT91SAM9263 SoC */ +#define CONFIG_SYS_AT91_MAIN_CLOCK 16000000/* 16.0 MHz crystal */ #define CONFIG_DISPLAY_BOARDINFO 1 #define CONFIG_DISPLAY_CPUINFO 1 /* display cpu info and speed */ #define CONFIG_PREBOOT /* enable preboot variable */ diff --git a/include/configs/otc570.h b/include/configs/otc570.h index fb0f576f4..4a1cedec0 100644 --- a/include/configs/otc570.h +++ b/include/configs/otc570.h @@ -35,6 +35,7 @@ #define CONFIG_OTC570 1 /* Board is esd OTC570 */ #define CONFIG_ARM926EJS 1 /* This is an ARM926EJS Core */ #define CONFIG_AT91SAM9263 1 /* It's an AT91SAM9263 SoC */ +#define CONFIG_SYS_AT91_MAIN_CLOCK 16000000/* 16.0 MHz crystal */ #define CONFIG_SYS_HZ 1000 /* decrementer freq */ #define CONFIG_DISPLAY_BOARDINFO 1 #define CONFIG_DISPLAY_CPUINFO 1 /* display cpu info and speed */