Skip to content
Snippets Groups Projects
Commit e3edcb36 authored by Matthias Fuchs's avatar Matthias Fuchs Committed by Stefan Roese
Browse files

ppx4xx: Fix sdram init on PMC440 boards

parent 4d332dbe
No related branches found
No related tags found
No related merge requests found
...@@ -104,5 +104,12 @@ long int initdram (int board_type) ...@@ -104,5 +104,12 @@ long int initdram (int board_type)
denali_core_search_data_eye(); denali_core_search_data_eye();
#endif #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); return (CFG_MBYTES_SDRAM << 20);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment