[PATCH 1/2] introduce barebox_bare_init_size to known the bare_init size and check it

Peter Korsgaard jacmet at sunsite.dk
Wed Jan 18 17:19:15 EST 2012


>>>>> "JC" == Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com> writes:

 JC> this allow to check we do not exceed the size of the SRAM as example
 JC> introduce BAREBOX_MAX_BARE_INIT_SIZE the maximum size of bare_init
 JC> this will allow your bare_init will fit in SRAM as example
 JC> ARCH can overwrite it via ARCH_BAREBOX_MAX_BARE_INIT_SIZE

 JC> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>

 JC> +#include <linux/stringify.h>
 JC> +/* use 2 ASSERT because ld can not accept '"size" "10"' formet */

s/formet/format/

-- 
Bye, Peter Korsgaard



More information about the barebox mailing list