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

2024-01-30 Thread Dan Carpenter
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

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

2024-01-30 Thread Mike Looijmans
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 --- arch/arm/cpu/armv8/fsl-layerscape/soc.c | 5 + 1 fi