bootm: Skip command-line substitution if !CONFIG_CMDLINE
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 05:11:23 +0000 (18:11 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 02:04:31 +0000 (15:04 +1300)
commita8d696275aca9a121d438db50fcc44c02d7793cb
treecb9cbaa4e950626392bceeb1be15810635b58bcd
parentf2c1442e9643396a764fc3c9c28ffc2f36a73bbe
bootm: Skip command-line substitution if !CONFIG_CMDLINE

When there is no command line, we cannot enable this feature. Add a check
to avoid a build error.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/bootm.c