[PATCH 1/1 v3] bootm: add global bootm.{image/initrd}.loadaddr support

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Sep 12 11:46:33 EDT 2012


On 17:41 Wed 12 Sep     , Sascha Hauer wrote:
> On Wed, Sep 12, 2012 at 04:13:54PM +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 at jcrosoft.com>
> > ---
> > fix typo in doc
> > 
> > Best Regards,
> > J.
> >  commands/bootm.c |   25 +++++++++++++++++++++++--
> >  1 file changed, 23 insertions(+), 2 deletions(-)
> > 
> > diff --git a/commands/bootm.c b/commands/bootm.c
> > index 2d9f7f2..c03ca30 100644
> > --- a/commands/bootm.c
> > +++ b/commands/bootm.c
> > @@ -254,6 +254,19 @@ static char *bootm_image_name_and_no(const char *name, int *no)
> >  #define BOOTM_OPTS BOOTM_OPTS_COMMON
> >  #endif
> >  
> > +unsigned long long getenv_loadaddr(const char *name)
> 
> Static?
yes

Best Regards,
J.



More information about the barebox mailing list