On Wed 2015-01-14 10:40:50, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen <dingu...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot