summaryrefslogtreecommitdiff
path: root/board/esd/pmc440
diff options
context:
space:
mode:
authorMatthias Fuchs <matthias.fuchs@esd-electronics.com>2008-01-11 14:55:08 +0100
committerStefan Roese <sr@denx.de>2008-01-11 15:44:27 +0100
commite3edcb36f14f0aabb6f50e96014d6877f73d64ea (patch)
tree0a026b7575cacd043348d41ab363e3e47665cbfd /board/esd/pmc440
parent4d332dbeb08f5863d1ea69d91a00c5499d3a87ed (diff)
downloadu-boot-imx-e3edcb36f14f0aabb6f50e96014d6877f73d64ea.zip
u-boot-imx-e3edcb36f14f0aabb6f50e96014d6877f73d64ea.tar.gz
u-boot-imx-e3edcb36f14f0aabb6f50e96014d6877f73d64ea.tar.bz2
ppx4xx: Fix sdram init on PMC440 boards
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Diffstat (limited to 'board/esd/pmc440')
-rw-r--r--board/esd/pmc440/sdram.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/esd/pmc440/sdram.c b/board/esd/pmc440/sdram.c
index 7f92d37..624c457 100644
--- a/board/esd/pmc440/sdram.c
+++ b/board/esd/pmc440/sdram.c
@@ -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);
}