[PATCH 5/7] provide real barebox end variable
Sascha Hauer
s.hauer at pengutronix.de
Sat Jan 15 09:48:21 EST 2011
On Sat, Jan 15, 2011 at 02:50:23AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 20:51 Fri 14 Jan , Sascha Hauer wrote:
> > Sometimes it's useful to have the memory end address barebox uses.
> >
> > Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> > ---
> > include/reloc.h | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/include/reloc.h b/include/reloc.h
> > index 22cb886..a0bf15f 100644
> > --- a/include/reloc.h
> > +++ b/include/reloc.h
> > @@ -1,7 +1,7 @@
> > #ifndef __RELOC_H
> > #define __RELOC_H
> >
> > -extern unsigned long _barebox_start, _bss_start, _bss_end, _text_base;
> > +extern unsigned long _barebox_start, _bss_start, _bss_end, _text_base, _end;
> how about _barebox_end
Agreed. I just used this name because I didn't want to change all linker
scripts, but laziness is not a good argument for introducing a global variable
with such a generic name.
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 |
More information about the barebox
mailing list