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

Daniel Gorsulowski Daniel.Gorsulowski at esd.eu
Fri Jul 16 08:22:29 CEST 2010


Autodetection is undesired now

Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski at esd.eu>
---

v2:	fixed copyright changing error according to Wolfgangs hint

 include/configs/meesc.h  |    3 ++-
 include/configs/otc570.h |    1 +
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/configs/meesc.h b/include/configs/meesc.h
index e085f4a..dad0bef 100644
--- a/include/configs/meesc.h
+++ b/include/configs/meesc.h
@@ -3,7 +3,7 @@
  * Stelian Pop <stelian.pop at leadtechdesign.com>
  * Lead Tech Design <www.leadtechdesign.com>
  *
- * (C) Copyright 2009
+ * (C) Copyright 2009-2010
  * Daniel Gorsulowski <daniel.gorsulowski at esd.eu>
  * esd electronic system design gmbh <www.esd.eu>
  *
@@ -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