On Mon, Aug 13, 2012 at 09:07:15AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > To be able to pass the loadaddr of the image and the initrd. > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> > --- > commands/bootm.c | 24 +++++++++++++++++++++--- > 1 file changed, 21 insertions(+), 3 deletions(-) > > diff --git a/commands/bootm.c b/commands/bootm.c > index 5f858e8..331e777 100644 > --- a/commands/bootm.c > +++ b/commands/bootm.c > > BAREBOX_MAGICVAR(bootargs, "Linux Kernel parameters"); > -BAREBOX_MAGICVAR_NAMED(global_bootm_image, global.bootm.image, "bootm default boot image"); The above line is correct... > +BAREBOX_MAGICVAR_NAMED(global_bootm_image_loadaddr, global.bootm.image, "bootm default boot image"); > +BAREBOX_MAGICVAR_NAMED(global_bootm_image, global.bootm.image.loadaddr, "bootm default boot image loadaadr"); and mixed up 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