public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/4] bootm: allow people to disable this command
Date: Thu, 21 Jan 2010 19:34:20 -0500	[thread overview]
Message-ID: <201001211934.21010.vapier@gentoo.org> (raw)
In-Reply-To: <20100121211719.ACFB94C04D@gemini.denx.de>

On Thursday 21 January 2010 16:17:19 Wolfgang Denk wrote:
> Mike Frysinger wrote:
> > --- a/common/cmd_bootm.c
> > +++ b/common/cmd_bootm.c
> > @@ -57,6 +57,10 @@
> >  #include <lzma/LzmaTools.h>
> >  #endif /* CONFIG_LZMA */
> >
> > +ulong load_addr = CONFIG_SYS_LOAD_ADDR;	/* Default Load Address */
> > +
> > +#ifndef CONFIG_SYS_NO_BOOTM
> > +
> >  DECLARE_GLOBAL_DATA_PTR;
> >
> >  extern int gunzip (void *dst, int dstlen, unsigned char *src, unsigned
> > long *lenp); @@ -147,7 +151,6 @@ static boot_os_fn *boot_os[] = {
> >  #endif
> >  };
> >
> > -ulong load_addr = CONFIG_SYS_LOAD_ADDR;	/* Default Load Address */
> >  static bootm_headers_t images;	/* pointers to os/initrd/fdt images */
> >
> >  /* Allow for arch specific config before we boot */
> > @@ -1453,3 +1456,5 @@ static int do_bootm_integrity (int flag, int argc,
> > char *argv[], return 1;
> >  }
> >  #endif
> > +
> > +#endif /* CONFIG_SYS_NO_BOOTM */
> 
> Hm... please let's not invent a new style to configure commands -
> please use CONFIG_CMD_BOOTM instead (enabled by default).

i did it this way because u-boot doesnt have a default list for everyone of 
commands.  the config_cmd_default.h isnt included by all boards.  i can 
(semi-)reuse the new config_defaults.h if you're OK with that.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100121/59cef11e/attachment.pgp 

  reply	other threads:[~2010-01-22  0:34 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-20 16:39 [U-Boot] [PATCH][RFC] bootm: Added CONFIG_BOOTM_{LINUX, NETBSD, RTEMS} Kumar Gala
2008-10-21 19:35 ` Wolfgang Denk
2008-10-21 19:36   ` Kumar Gala
2008-10-21 19:42     ` Wolfgang Denk
2008-10-21 19:46       ` Jerry Van Baren
2008-10-21 19:50         ` Jerry Van Baren
2008-10-21 19:47       ` Kumar Gala
2008-10-21 21:01       ` Jean-Christophe PLAGNIOL-VILLARD
2009-09-09 12:55         ` [U-Boot] [PATCH] move default bootm config options to config_cmd_default.h Mike Frysinger
2009-09-09 13:06           ` Wolfgang Denk
2009-09-09 14:07             ` Mike Frysinger
2009-09-09 14:28               ` Wolfgang Denk
2009-09-09 15:34                 ` Mike Frysinger
2009-11-04 21:46                 ` [U-Boot] [PATCH 1/4] config_defaults.h: new header for common u-boot config defaults Mike Frysinger
2009-12-02 21:55                   ` Wolfgang Denk
2009-12-03  2:15                     ` [U-Boot] [PATCH 1/4 v2] " Mike Frysinger
2010-01-17 23:05                       ` Wolfgang Denk
2009-11-04 21:46                 ` [U-Boot] [PATCH 2/4] gzip/zlib: make features optional Mike Frysinger
2010-01-21 21:24                   ` Wolfgang Denk
2010-01-22  0:30                     ` [U-Boot] [PATCH v2] " Mike Frysinger
2010-01-25 23:05                       ` Wolfgang Denk
2009-11-04 21:46                 ` [U-Boot] [PATCH 3/4] sha1: add dedicated config option Mike Frysinger
2010-01-18  2:08                   ` [U-Boot] [PATCH 3/4 v2] " Mike Frysinger
2010-01-21 21:21                     ` Wolfgang Denk
2009-11-04 21:46                 ` [U-Boot] [PATCH 4/4] bootm: allow people to disable this command Mike Frysinger
2010-01-21 21:17                   ` Wolfgang Denk
2010-01-22  0:34                     ` Mike Frysinger [this message]
2010-01-22 11:59                       ` Wolfgang Denk
2008-10-21 19:47   ` [U-Boot] [PATCH][RFC] bootm: Added CONFIG_BOOTM_{LINUX, NETBSD, RTEMS} Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201001211934.21010.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox