[PATCH] fsl-layerscape/soc.c: do not destroy bootcmd environment

Dan Carpenter dan.carpenter at linaro.org
Tue Jan 30 15:48:01 CET 2024


On Tue, Jan 30, 2024 at 03:26:56PM +0100, Mike Looijmans wrote:
> 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 at topic.nl>

Thanks, Mike.

Fixes: 2141d250f510 ("armv8: fsl-layerscape: bootcmd identification for TFABOOT")

Reviewed-by: Dan Carpenter <dan.carpenter at linaro.org>

regards,
dan carpenter



More information about the U-Boot mailing list