On Thu, Oct 18, 2012 at 09:26:56AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 23:03 Wed 17 Oct , Sascha Hauer wrote: > > Some Atmel boards use a reset() function provided by the architecture. > > Add a reset function for the board instead and call the architecture > > specific init function from there. While at it, test if we are running > > from SDRAM and skip the init function in this case. This makes the configs > > safe for both first and second stage. > > no when using the lowlevel init ont at91 we are first stage so this can not > work at91_get_sdram_size can only known the ramsize after the lowlevle is done You are right, something is wrong here. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox