commit | e3457248b79bc601bc778780e99a1b86929da6fd | [log] [tgz] |
---|---|---|
author | Mike Looijmans <mike.looijmans@topic.nl> | Tue Jan 30 15:26:56 2024 +0100 |
committer | Peng Fan <peng.fan@nxp.com> | Thu Feb 08 10:45:32 2024 +0800 |
tree | d5eba266f83c6a66207fc6f14f69b04eb52e2984 | |
parent | dbb6e55e9481b439bc593f0c46ea45093d6b3431 [diff] |
fsl-layerscape/soc.c: do not destroy bootcmd environment When an XXX_BOOTCOMMAND isn't defined, the result is that bootcmd is set to some random memory content. Fix it so that the function does nothing in that case and leaves the bootcmd environment unmodified. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>