Skip to content
Commit 7481632b authored by Piotr Kubik's avatar Piotr Kubik Committed by Tom Rini
Browse files

bootm: Fix flags used for bootargs string substitution



Commit 51bb3384 ("bootm: Support string substitution in
bootargs") introduced a feature of bootargs string substitution
and changed a flag used in bootm_process_cmdline_env() call
to be either true or false. With this flag value,
condition in bootm_process_cmdline()
`if (flags & BOOTM_CL_SUBST)` is never true
and process_subst() is never called.

Add a simple test to verify if substitution works OK.

Signed-off-by: default avatarPiotr Kubik <piotr.kubik@iopsys.eu>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 785834d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment