Skip to contentSkip to conversation

at91: Defined main clock frequency on esd at91 boards

PATCH Superseded Daniel Gorsulowski 2 participants 2 messages Jul 8, 2010 – Jul 15, 2010

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 at91: Defined main clock frequency on esd at91 boards

Autodetection is undesired now

---
 include/configs/meesc.h  |    9 +++++----
 include/configs/otc570.h |    1 +
 2 files changed, 6 insertions(+), 4 deletions(-)
include/configs/meesc.h +5 -4
index e085f4a..d3cc582 100644
@@ -1,12 +1,12 @@
 /*
+ * (C) Copyright 2010
+ * Daniel Gorsulowski <[email protected]>
+ * esd electronic system design gmbh <www.esd.eu>
+ *
  * (C) Copyright 2007-2008
  * Stelian Pop <[email protected]>
  * Lead Tech Design <www.leadtechdesign.com>
  *
- * (C) Copyright 2009
- * Daniel Gorsulowski <[email protected]>
- * 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 */
include/configs/otc570.h +1 -0
index fb0f576..4a1cede 100644
@@ -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 */
Signature · 1 line
1.5.3
#1 lore raw

PATCH 1/3 at91: Defined main clock frequency on esd at91 boards

Dear Daniel Gorsulowski,

Quoted 30 lines · In message <[email protected]> you wrote:

Autodetection is undesired now

---
 include/configs/meesc.h  |    9 +++++----
 include/configs/otc570.h |    1 +
 2 files changed, 6 insertions(+), 4 deletions(-)
include/configs/meesc.h +4 -4
index e085f4a..d3cc582 100644
@@ -1,12 +1,12 @@
 /*
+ * (C) Copyright 2010
+ * Daniel Gorsulowski <[email protected]>
+ * esd electronic system design gmbh <www.esd.eu>
+ *
  * (C) Copyright 2007-2008
  * Stelian Pop <[email protected]>
  * Lead Tech Design <www.leadtechdesign.com>
  *
- * (C) Copyright 2009
- * Daniel Gorsulowski <[email protected]>
- * 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

include/configs/meesc.h line 44

Quoted 7 lines
include/configs/meesc.h +1 -0
@@ -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 */

Please feel free to change the year (2009 => 2009-2010), but please do not start a major reordering of copyrighjt information for a single line addition!

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"More software projects have gone awry for lack of calendar time than
for all other causes combined."
                         - Fred Brooks, Jr., _The Mythical Man Month_