diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/bootargs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/bootargs.c b/common/bootargs.c index b17e6d15ae..60e936da37 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"); |