[PATCH 2/5] bootm: Add bootargs magicvar
Sascha Hauer
s.hauer at pengutronix.de
Sun Nov 27 07:09:37 EST 2011
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
commands/bootm.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/commands/bootm.c b/commands/bootm.c
index f11138a..55c964a 100644
--- a/commands/bootm.c
+++ b/commands/bootm.c
@@ -42,6 +42,7 @@
#include <boot.h>
#include <rtc.h>
#include <init.h>
+#include <magicvar.h>
#include <asm-generic/memory_layout.h>
/*
@@ -367,6 +368,8 @@ BAREBOX_CMD_START(bootm)
BAREBOX_CMD_HELP(cmd_bootm_help)
BAREBOX_CMD_END
+BAREBOX_MAGIC_VAR(bootargs, "Linux Kernel parameters");
+
/**
* @page bootm_command
--
1.7.7.1
More information about the barebox
mailing list