[U-Boot] [PATCH v2 2/3] common/cmd_nand.c: add ifdef protection for do_bootm
Mike Frysinger
vapier at gentoo.org
Wed Jun 1 18:59:48 CEST 2011
On Wednesday, June 01, 2011 11:55:03 McClintock Matthew-B29882 wrote:
> On Wed, Jun 1, 2011 at 10:10 AM, Mike Frysinger <vapier at gentoo.org> 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
More information about the U-Boot
mailing list