On Mon, Apr 11, 2011 at 09:41:09AM +0200, Sascha Hauer wrote: > > I don't understand this line. Did you mean something like: > > > > #define barebox_image_size *((unsigned int *)_barebox_image_size) > > > > Or am I missing something? > > _barebox_image_size is filled in by the linker. It can be seen as a > pointer which address corresponds to the image size. I know this looks > strange and I don't really like this. Maybe it can be done better? You could add a comment until there is a better solution. rsc -- 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