
16 Feb
2015
16 Feb
'15
10:37 p.m.
On Wed 2015-01-14 10:40:50, dinguyen@opensource.altera.com wrote:
From: Dinh Nguyen dinguyen@opensource.altera.com
Add a call to checkboard along with sdram intilialization and calibration.
/* enable console uart printing */ preloader_console_init();
- checkboard();
- if (sdram_mmr_init_full(0xffffffff) != 0)
hang();
- puts("SDRAM: Calibrating PHY\n");
- /* SDRAM calibration */
- if (sdram_calibration_full() == 0)
hang();
}
You might want to standartize on "== 0" ok, "< 0" errno returned.... Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html