[U-Boot] [PATCH] common: cli: Fix typo CONFIG_CMDINE -> CONFIG_CMDLINE

Stefan Roese sr at denx.de
Mon Apr 4 16:32:15 CEST 2016


Patch f8bb6964 (Drop command-processing code when CONFIG_CMDLINE is
disabled) introduced a small typo. This patch fixes it and unbreaks
all boards again that don't have the Hush parser enabled.

Signed-off-by: Stefan Roese <sr at denx.de>
Cc: Simon Glass <sjg at chromium.org>
Cc: Tom Rini <trini at konsulko.com>
---
 common/cli.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/cli.c b/common/cli.c
index 5e17da8..18d7e19 100644
--- a/common/cli.c
+++ b/common/cli.c
@@ -218,7 +218,7 @@ void cli_loop(void)
 	parse_file_outer();
 	/* This point is never reached */
 	for (;;);
-#elif defined(CONFIG_CMDINE)
+#elif defined(CONFIG_CMDLINE)
 	cli_simple_loop();
 #else
 	printf("## U-Boot command line is disabled. Please enable CONFIG_CMDLINE\n");
-- 
2.8.1



More information about the U-Boot mailing list