summaryrefslogtreecommitdiffstats
path: root/common/startup.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-06-12 11:16:25 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-06-13 07:55:39 +0200
commitb8740d6022fee0523310ac15104e7f81f0e19246 (patch)
tree8c559e7cf192c0a2ce53fcaa1bfc6a1612dc8c24 /common/startup.c
parent9b8e61baf8a95c0e1859e2fae4b9b30f9d79f527 (diff)
downloadbarebox-b8740d6022fee0523310ac15104e7f81f0e19246.tar.gz
startup: Do not overwrite global.linux.bootargs.console
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/startup.c')
-rw-r--r--common/startup.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/common/startup.c b/common/startup.c
index 9fac0ea..a5fd36b 100644
--- a/common/startup.c
+++ b/common/startup.c
@@ -155,7 +155,6 @@ static int global_autoboot_timeout = 3;
static char *global_boot_default;
static char *global_editcmd;
static char *global_linux_bootargs_base;
-static char *global_linux_bootargs_console;
static char *global_linux_bootargs_dyn_ip;
static char *global_linux_bootargs_dyn_root;
static char *global_user;
@@ -228,8 +227,6 @@ static int run_init(void)
globalvar_add_simple_string("editcmd", &global_editcmd);
globalvar_add_simple_string("linux.bootargs.base",
&global_linux_bootargs_base);
- globalvar_add_simple_string("linux.bootargs.console",
- &global_linux_bootargs_console);
globalvar_add_simple_string("linux.bootargs.dyn.ip",
&global_linux_bootargs_dyn_ip);
globalvar_add_simple_string("linux.bootargs.dyn.root",