[PATCH 2/2] flexible bootargs: Add magicvar descriptions
Sascha Hauer
s.hauer at pengutronix.de
Tue May 15 03:07:34 EDT 2012
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
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
More information about the barebox
mailing list