Merge branch 'socrates' of /home/wd/git/u-boot/projects
[oweals/u-boot.git] / board / amcc / sequoia / sdram.c
index 5e93f6c7a090e3880bf980112043a234c03589bd..b43ec48091f3820fb2f6815eddedaaedbd247b5c 100644 (file)
@@ -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);
 }