common: bootm: Document fake bootm sub-command
authorMichal Simek <michal.simek@xilinx.com>
Thu, 15 Jan 2015 08:53:13 +0000 (09:53 +0100)
committerTom Rini <trini@ti.com>
Thu, 29 Jan 2015 18:38:42 +0000 (13:38 -0500)
Fake option is enabled only when CONFIG_TRACE is
enabled in common/bootm.c:do_boot_states().

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/cmd_bootm.c

index 67233600b157244409c2710afa606337d2ebaf80..48199bfff3ed75a232ba3905cb4fe8662b09e321 100644 (file)
@@ -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
        "\tgo      - start OS";
 #endif