]> git.sur5r.net Git - u-boot/commitdiff
common: cli: Fix typo CONFIG_CMDINE -> CONFIG_CMDLINE
authorStefan Roese <sr@denx.de>
Mon, 4 Apr 2016 14:32:15 +0000 (16:32 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 4 Apr 2016 17:13:07 +0000 (13:13 -0400)
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>
common/cli.c

index 5e17da897c10f7ca2ddf3d3137a618eb3573fa7d..18d7e198a88235bd06fc82b6466d6bb865286071 100644 (file)
@@ -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");