[PATCH 14/16] ARM: compile in image size and magic into barebox image
Robert Schwebel
r.schwebel at pengutronix.de
Mon Apr 11 03:46:47 EDT 2011
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 |
More information about the barebox
mailing list