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>
master
Stefan Roese 8 years ago committed by Tom Rini
parent 563d8d9358
commit 30eae26b56
  1. 2
      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");

Loading…
Cancel
Save