[U-Boot] [PATCH 1/3] at91: Defined main clock frequency on esd at91 boards

Daniel Gorsulowski Daniel.Gorsulowski at esd.eu
Thu Jul 8 10:57:50 CEST 2010


Autodetection is undesired now

Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski at esd.eu>
---
 include/configs/meesc.h  |    9 +++++----
 include/configs/otc570.h |    1 +
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/include/configs/meesc.h b/include/configs/meesc.h
index e085f4a..d3cc582 100644
--- a/include/configs/meesc.h
+++ b/include/configs/meesc.h
@@ -1,12 +1,12 @@
 /*
+ * (C) Copyright 2010
+ * Daniel Gorsulowski <daniel.gorsulowski at esd.eu>
+ * esd electronic system design gmbh <www.esd.eu>
+ *
  * (C) Copyright 2007-2008
  * Stelian Pop <stelian.pop at leadtechdesign.com>
  * Lead Tech Design <www.leadtechdesign.com>
  *
- * (C) Copyright 2009
- * Daniel Gorsulowski <daniel.gorsulowski at esd.eu>
- * esd electronic system design gmbh <www.esd.eu>
- *
  * Configuation settings for the esd MEESC board.
  *
  * See file CREDITS for list of people who contributed to this
@@ -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 fb0f576..4a1cede 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 */
-- 
1.5.3



More information about the U-Boot mailing list