Skip to content
Snippets Groups Projects
Commit b8f84e73 authored by nbd's avatar nbd
Browse files

ar71xx: fix lzma-loader kernel command line passing


The generic kernel cmdline parser ignores argv[0], this caused a
regression for all lzma-loader based boards with linux 4.1

Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46544 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent daa6cffa
No related branches found
No related tags found
No related merge requests found
...@@ -73,9 +73,10 @@ static unsigned long lzma_outsize; ...@@ -73,9 +73,10 @@ static unsigned long lzma_outsize;
static unsigned long kernel_la; static unsigned long kernel_la;
#ifdef CONFIG_KERNEL_CMDLINE #ifdef CONFIG_KERNEL_CMDLINE
#define kernel_argc 1 #define kernel_argc 2
static const char kernel_cmdline[] = CONFIG_KERNEL_CMDLINE; static const char kernel_cmdline[] = CONFIG_KERNEL_CMDLINE;
static const char *kernel_argv[] = { static const char *kernel_argv[] = {
NULL,
kernel_cmdline, kernel_cmdline,
NULL, NULL,
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment