[U-Boot] [PATCH v2 2/3] common/cmd_nand.c: add ifdef protection for do_bootm

McClintock Matthew-B29882 B29882 at freescale.com
Wed Jun 1 17:55:03 CEST 2011


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 ?
> -mike
>
> 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.

-M


More information about the U-Boot mailing list