mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 12:54:37 +00:00
command: Don't allow commands 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>
This commit is contained in:
parent
9c097f8139
commit
d99e6f78de
1 changed files with 1 additions and 1 deletions
|
@ -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_DO_CMD(_cmdname) \
|
||||||
U_BOOT_SUBCMDS_COMPLETE(_cmdname)
|
U_BOOT_SUBCMDS_COMPLETE(_cmdname)
|
||||||
|
|
||||||
#ifdef CONFIG_CMDLINE
|
#if CONFIG_IS_ENABLED(CMDLINE)
|
||||||
#define U_BOOT_CMDREP_MKENT_COMPLETE(_name, _maxargs, _cmd_rep, \
|
#define U_BOOT_CMDREP_MKENT_COMPLETE(_name, _maxargs, _cmd_rep, \
|
||||||
_usage, _help, _comp) \
|
_usage, _help, _comp) \
|
||||||
{ #_name, _maxargs, _cmd_rep, cmd_discard_repeatable, \
|
{ #_name, _maxargs, _cmd_rep, cmd_discard_repeatable, \
|
||||||
|
|
Loading…
Add table
Reference in a new issue