[U-Boot] [PATCH] common: bootm: Document fake bootm sub-command

Simon Glass sjg at chromium.org
Thu Jan 15 15:25:47 CET 2015


Hi Michal,

On 15 January 2015 at 01:53, Michal Simek <michal.simek at xilinx.com> wrote:
> Fake option is enabled only when CONFIG_TRACE is
> enabled in common/bootm.c:do_boot_states().
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  common/cmd_bootm.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
> index 67233600b157..48199bfff3ed 100644
> --- a/common/cmd_bootm.c
> +++ b/common/cmd_bootm.c
> @@ -185,6 +185,9 @@ static char bootm_help_text[] =
>         "\tcmdline - OS specific command line processing/setup\n"
>         "\tbdt     - OS specific bd_t processing\n"
>         "\tprep    - OS specific prep before relocation or go\n"
> +#if defined(CONFIG_TRACE)
> +       "\tfake    - OS specific fake start without go\n"
> +#endif

nit: I think it should be 'OS-specific'

>         "\tgo      - start OS";
>  #endif

Regards,
Simon


More information about the U-Boot mailing list