Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- common/bootargs.c | 4 ++++ 1 file changed, 4 insertions(+) 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"); -- 1.7.10 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox