summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2016-04-04 16:32:15 +0200
committerTom Rini <trini@konsulko.com>2016-04-04 13:13:07 -0400
commit30eae26b5629d6b06f11ca92c84ff30d57b784be (patch)
tree196457635a0aaab77715e3f25265bea073bf23c5 /common
parent563d8d93585035fa2a0b20190c1008eb625432c4 (diff)
downloadu-boot-30eae26b5629d6b06f11ca92c84ff30d57b784be.tar.gz
u-boot-30eae26b5629d6b06f11ca92c84ff30d57b784be.tar.bz2
u-boot-30eae26b5629d6b06f11ca92c84ff30d57b784be.zip
common: cli: Fix typo CONFIG_CMDINE -> CONFIG_CMDLINE
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@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r--common/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cli.c b/common/cli.c
index 5e17da897c..18d7e198a8 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");