diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-22 09:34:25 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-02 12:37:30 -0500 |
commit | 0c81da3dcaa0a7ed57ed3fd86b32f75d8ad8d7ed (patch) | |
tree | 0fafb0892e0baed4ad1e5b9e98d310b39b14e546 | |
parent | 5f0804b9dbcde3e24260ef4cfd1e21eba47dc980 (diff) | |
download | u-boot-CHECK/check-cmdline-in-spl.zip u-boot-CHECK/check-cmdline-in-spl.tar.gz u-boot-CHECK/check-cmdline-in-spl.tar.bz2 |
command: Don't allow commands in SPLCHECK/check-cmdline-in-spl
At present we compile commands into U-Boot SPL even though they cannot
be used. This wastes space. Adjust the condition to avoid this.
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | include/command.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/command.h b/include/command.h index 0db4898..1b018cb 100644 --- a/include/command.h +++ b/include/command.h @@ -376,7 +376,7 @@ int cmd_source_script(ulong addr, const char *fit_uname, const char *confname); U_BOOT_SUBCMDS_DO_CMD(_cmdname) \ U_BOOT_SUBCMDS_COMPLETE(_cmdname) -#ifdef CONFIG_CMDLINE +#if CONFIG_IS_ENABLED(CMDLINE) #define U_BOOT_CMDREP_MKENT_COMPLETE(_name, _maxargs, _cmd_rep, \ _usage, _help, _comp) \ { #_name, _maxargs, _cmd_rep, cmd_discard_repeatable, \ |