Skip to content
Commit 121696c9 authored by Mike Looijmans's avatar Mike Looijmans Committed by Peng Fan
Browse files

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: default avatarMike Looijmans <mike.looijmans@topic.nl>
Reviewed-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
parent 55fc0cbb
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