1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-22 02:24:03 +02:00

ppx4xx: Fix sdram init on PMC440 boards

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
This commit is contained in:
Matthias Fuchs
2008-01-11 14:55:08 +01:00
committed by Stefan Roese
parent 4d332dbeb0
commit e3edcb36f1

View File

@@ -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);
}