summaryrefslogtreecommitdiff
path: root/drivers/button/button-qcom-pmic.c
diff options
context:
space:
mode:
authorMike Looijmans <mike.looijmans@topic.nl>2024-01-30 15:26:56 +0100
committerPeng Fan <peng.fan@nxp.com>2024-02-08 10:45:32 +0800
commit121696c957d741d17125f5416d1210b11ef8afdd (patch)
treed5eba266f83c6a66207fc6f14f69b04eb52e2984 /drivers/button/button-qcom-pmic.c
parent55fc0cbbd6c973849371bb21b45981ad26847a4b (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>
Diffstat (limited to 'drivers/button/button-qcom-pmic.c')
0 files changed, 0 insertions, 0 deletions