Skip to contentSkip to conversation

ppx4xx: Fix sdram init on PMC440 boards

PATCH New Matthias Fuchs 2 participants 2 messages Jan 11, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppx4xx: Fix sdram init on PMC440 boards

---
 board/esd/pmc440/sdram.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
board/esd/pmc440/sdram.c +7 -0
index 7f92d37..624c457 100644
@@ -104,5 +104,12 @@ long int initdram (int board_type)
 	denali_core_search_data_eye();
 #endif
 
+	/*
+	 * Clear possible errors resulting from data-eye-search.
+	 * If not done, then we could get an interrupt later on when
+	 * exceptions are enabled.
+	 */
+	set_mcsr(get_mcsr());
+
 	return (CFG_MBYTES_SDRAM << 20);
 }
Signature · 1 line
1.5.3
Applied
#1 lore raw

PATCH 1/1 ppx4xx: Fix sdram init on PMC440 boards

Quoted 1 line · Matthias Fuchs

Applied. Thanks.

Viele Gr??e,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================