summaryrefslogtreecommitdiff
path: root/board/amcc/sequoia/sdram.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-01-12 00:13:37 +0100
committerWolfgang Denk <wd@denx.de>2008-01-12 00:13:37 +0100
commitc08ba677223131da2bb65b19ff3a2efe72acd72b (patch)
tree68bd79e3a537d98f37e89a72715921e31ae70dc0 /board/amcc/sequoia/sdram.c
parent14c14db19332137ec614a01cacbed549c393423f (diff)
parentd5a163d6baa04f5a8edcc10ebc6fad08657d3093 (diff)
downloadu-boot-imx-c08ba677223131da2bb65b19ff3a2efe72acd72b.zip
u-boot-imx-c08ba677223131da2bb65b19ff3a2efe72acd72b.tar.gz
u-boot-imx-c08ba677223131da2bb65b19ff3a2efe72acd72b.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Diffstat (limited to 'board/amcc/sequoia/sdram.c')
-rw-r--r--board/amcc/sequoia/sdram.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/amcc/sequoia/sdram.c b/board/amcc/sequoia/sdram.c
index 5e93f6c..b43ec48 100644
--- a/board/amcc/sequoia/sdram.c
+++ b/board/amcc/sequoia/sdram.c
@@ -106,5 +106,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);
}