projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d332db
)
ppx4xx: Fix sdram init on PMC440 boards
author
Matthias Fuchs
<matthias.fuchs@esd-electronics.com>
Fri, 11 Jan 2008 13:55:08 +0000
(14:55 +0100)
committer
Stefan Roese
<sr@denx.de>
Fri, 11 Jan 2008 14:44:27 +0000
(15:44 +0100)
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
board/esd/pmc440/sdram.c
patch
|
blob
|
history
diff --git
a/board/esd/pmc440/sdram.c
b/board/esd/pmc440/sdram.c
index 7f92d37727e8d07c32adbcb36ec6c1d8ad66eb32..624c45791fa41f6823371baae65a161fb97a7569 100644
(file)
--- 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);
}