From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Wed, 1 Jun 2011 12:59:48 -0400 Subject: [U-Boot] [PATCH v2 2/3] common/cmd_nand.c: add ifdef protection for do_bootm In-Reply-To: References: <201105232312.53322.vapier@gentoo.org> <201106011110.50651.vapier@gentoo.org> Message-ID: <201106011259.48824.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday, June 01, 2011 11:55:03 McClintock Matthew-B29882 wrote: > On Wed, Jun 1, 2011 at 10:10 AM, Mike Frysinger wrote: > > actually, if you dont mind, i'd like to obsolete this patch with the one > > below. what do you think ? > > > > diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c > > index 18019d6..c5c169f 100644 > > --- a/common/cmd_bootm.c > > +++ b/common/cmd_bootm.c > > @@ -707,6 +707,21 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, > > char * const argv[]) return 1; > > } > > > > +int bootm_maybe_autostart(cmd_tbl_t *cmdtp, const char *cmd) > > I don't tink this will work since if we undef CONFIG_CMD_BOOTM we > don't even compile common/cmd_bootm.c. please double check the patch where it modifies the header -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/20110601/4ce5fba7/attachment.pgp