summaryrefslogtreecommitdiffstats
path: root/common/blspec.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-02-06 10:23:08 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-02-10 09:55:43 +0100
commit6f88d51efdc3989375363ea4fe015bf7ffa81e91 (patch)
tree3d1624c143867a394d09a291d6285bb55c65efaf /common/blspec.c
parent35405138c888301713e56cf13e0ef790cab05bf6 (diff)
downloadbarebox-6f88d51efdc3989375363ea4fe015bf7ffa81e91.tar.gz
blspec: put blspec bootargs into a .dyn bootargs variable
So that they get deleted later when something else is booted. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/blspec.c')
-rw-r--r--common/blspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/blspec.c b/common/blspec.c
index b9342d5..3506388 100644
--- a/common/blspec.c
+++ b/common/blspec.c
@@ -648,7 +648,7 @@ int blspec_boot(struct blspec_entry *entry, int verbose, int dryrun)
if (initrd)
data.initrd_file = asprintf("%s/%s", abspath, initrd);
- globalvar_add_simple("linux.bootargs.blspec", options);
+ globalvar_add_simple("linux.bootargs.dyn.blspec", options);
pr_info("booting %s from %s\n", blspec_entry_var_get(entry, "title"),
entry->cdev ? dev_name(entry->cdev->dev) : "none");