diff options
author | Tom Rini <trini@konsulko.com> | 2024-01-25 11:01:38 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-01-25 11:01:38 -0500 |
commit | e7f9e5eb584dd0b5d1b1ff82fe607d6da9940cc6 (patch) | |
tree | 5d78cc0c1339a9d7196876aa029f6e94ca247e72 /cmd | |
parent | 15e7927b5a2d33666af19879577bf0c30ab088fe (diff) | |
parent | 53c3e386063b9e1ab955d4658a035f1eea8a1cc0 (diff) |
Merge branch '2024-01-24-assorted-fixes-and-updates'
- Increase SYS_MAXARGS default, verdin-am62 improvements (and required
cleanup), assorted cleanups throughout the code base.
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/Kconfig | 2 | ||||
-rw-r--r-- | cmd/bootmenu.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 58ab357c70..06aae30df3 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -94,7 +94,7 @@ config SYS_PROMPT_HUSH_PS2 config SYS_MAXARGS int "Maximum number arguments accepted by commands" - default 16 + default 64 config SYS_XTRACE bool "Command execution tracer" diff --git a/cmd/bootmenu.c b/cmd/bootmenu.c index 987b16889f..78184fccab 100644 --- a/cmd/bootmenu.c +++ b/cmd/bootmenu.c @@ -119,7 +119,7 @@ static char *bootmenu_choice_entry(void *data) iter = iter->next; return iter->key; case BKEY_QUIT: - /* Quit by choosing the last entry - U-Boot console */ + /* Quit by choosing the last entry */ iter = menu->first; while (iter->next) iter = iter->next; @@ -361,15 +361,15 @@ static struct bootmenu_data *bootmenu_create(int delay) } #endif - /* Add U-Boot console entry at the end */ + /* Add Exit entry at the end */ if (i <= MAX_COUNT - 1) { entry = malloc(sizeof(struct bootmenu_entry)); if (!entry) goto cleanup; - /* Add Quit entry if entering U-Boot console is disabled */ + /* Add Quit entry if exiting bootmenu is disabled */ if (!IS_ENABLED(CONFIG_BOOTMENU_DISABLE_UBOOT_CONSOLE)) - entry->title = strdup("U-Boot console"); + entry->title = strdup("Exit"); else entry->title = strdup("Quit"); @@ -532,7 +532,7 @@ static enum bootmenu_ret bootmenu_show(int delay) title = strdup(iter->title); command = strdup(iter->command); - /* last entry is U-Boot console or Quit */ + /* last entry exits bootmenu */ if (iter->num == iter->menu->count - 1) { ret = BOOTMENU_RET_QUIT; goto cleanup; |