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: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46544
v19.07.3_mercusys_ac12_duma
Felix Fietkau 9 years ago
parent bf82deff70
commit 320aa30609

@ -73,9 +73,10 @@ static unsigned long lzma_outsize;
static unsigned long kernel_la;
#ifdef CONFIG_KERNEL_CMDLINE
#define kernel_argc 1
#define kernel_argc 2
static const char kernel_cmdline[] = CONFIG_KERNEL_CMDLINE;
static const char *kernel_argv[] = {
NULL,
kernel_cmdline,
NULL,
};

Loading…
Cancel
Save