summaryrefslogtreecommitdiffstats
path: root/common/bootargs.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-05-14 22:54:48 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-05-15 09:05:57 +0200
commit69ee684695209036e0e134324a1c310efbd4b46d (patch)
tree254fa2372bfea955bcc93306f57c6a61728504e2 /common/bootargs.c
parente58f05ae2add56dec9ffdb3a6179d4345880551a (diff)
downloadbarebox-69ee684695209036e0e134324a1c310efbd4b46d.tar.gz
flexible bootargs: Add magicvar descriptions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/bootargs.c')
-rw-r--r--common/bootargs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/bootargs.c b/common/bootargs.c
index b17e6d1..60e936d 100644
--- a/common/bootargs.c
+++ b/common/bootargs.c
@@ -22,6 +22,7 @@
#include <common.h>
#include <boot.h>
#include <malloc.h>
+#include <magicvar.h>
#include <globalvar.h>
#include <environment.h>
@@ -77,3 +78,6 @@ int linux_bootargs_overwrite(const char *bootargs)
return 0;
}
+
+BAREBOX_MAGICVAR_NAMED(global_linux_bootargs_, global.linux.bootargs.*, "Linux bootargs variables");
+BAREBOX_MAGICVAR_NAMED(global_linux_mtdparts_, global.linux.mtdparts.*, "Linux mtdparts variables");