summaryrefslogtreecommitdiffstats
path: root/commands/bootm.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/bootm.c')
-rw-r--r--commands/bootm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/bootm.c b/commands/bootm.c
index 97a6698b9b..eefcae3a74 100644
--- a/commands/bootm.c
+++ b/commands/bootm.c
@@ -164,10 +164,10 @@ err_out:
static int bootm_init(void)
{
- globalvar_add_simple("bootm.image");
- globalvar_add_simple("bootm.oftree");
+ globalvar_add_simple("bootm.image", NULL);
+ globalvar_add_simple("bootm.oftree", NULL);
if (IS_ENABLED(CONFIG_CMD_BOOTM_INITRD))
- globalvar_add_simple("bootm.initrd");
+ globalvar_add_simple("bootm.initrd", NULL);
return 0;
}