Skip to contentSkip to conversation

common: cli: Fix typo CONFIG_CMDINE -> CONFIG_CMDLINE

PATCH New Stefan Roese 3 participants 3 messages Apr 4, 2016 – Apr 5, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 common/cli.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
common/cli.c +1 -1
index 5e17da8..18d7e19 100644
@@ -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");
Signature · 1 line
2.8.1
#1 lore raw

PATCH 1/1 common: cli: Fix typo CONFIG_CMDINE -> CONFIG_CMDLINE

Quoted 7 lines · Stefan Roese

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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160404/567fb387/attachment.sig>
#2 lore raw

PATCH 1/1 common: cli: Fix typo CONFIG_CMDINE -> CONFIG_CMDLINE

In reply to Stefan Roese
Quoted 10 lines · Stefan Roese

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.

---
 common/cli.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Thanks Stefan, good to find this egregious bug before RC1. It would be good to have a version of sandbox that has both command line options, and more options in general.