From: Michal Simek <michal.simek@xilinx.com>
Date: Thu, 15 Jan 2015 08:53:13 +0000 (+0100)
Subject: common: bootm: Document fake bootm sub-command
X-Git-Tag: v2025.01-rc5-pxa1908~13839
X-Git-Url: http://git.dujemihanovic.xyz/contact?a=commitdiff_plain;h=e3046ba4daa4a4e5b7aedd9a1aa3b8d72e5ad559;p=u-boot.git

common: bootm: Document fake bootm sub-command

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>
---

diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 67233600b1..48199bfff3 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
 	"\tgo      - start OS";
 #endif