summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-11-27 13:02:48 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-11-29 20:51:32 +0100
commitf84fb129c703a682e37ba05f1ba2ea2b567a14d8 (patch)
treefefb3b444495a974fcac05490c256a6a88169a0c /commands
parent020a30be0d9a3b56a98c4e4094d13d3b4e3bd4eb (diff)
downloadbarebox-f84fb129c703a682e37ba05f1ba2ea2b567a14d8.tar.gz
barebox-f84fb129c703a682e37ba05f1ba2ea2b567a14d8.tar.xz
bootm: Add bootargs magicvar
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r--commands/bootm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/commands/bootm.c b/commands/bootm.c
index f11138afba..ada790ee97 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_MAGICVAR(bootargs, "Linux Kernel parameters");
+
/**
* @page bootm_command