Skip to content
Snippets Groups Projects
Commit d5a163d6 authored by Stefan Roese's avatar Stefan Roese
Browse files

ppc4xx: Fix sdram init on Sequoia boards


Clear possible errors in MCSR resulting from data-eye-search.
If not done, then we could get an interrupt later on when
exceptions are enabled.

Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent d610a607
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
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