uboot-lantiq/spl: fixed uninitialized variable len in spl_uncompress_lzo
[openwrt/openwrt.git] / package / boot / uboot-lantiq / patches / 0015-MIPS-lantiq-add-support-for-Lantiq-XWAY-ARX100-SoC-f.patch
index acda83c27637677eb41067e8f71b330f035ce581..a12d2ebff5ec6465b117f769e72cedf271dfdad1 100644 (file)
@@ -903,7 +903,7 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
  #define STATUS_LANTIQ         (STATUS_MIPS34K | STATUS_MIPS32_64)
 --- /dev/null
 +++ b/arch/mips/include/asm/arch-arx100/config.h
-@@ -0,0 +1,175 @@
+@@ -0,0 +1,176 @@
 +/*
 + * Copyright (C) 2007-2010 Lantiq Deutschland GmbH
 + * Copyright (C) 2011-2013 Daniel Schwierzeck, daniel.schwierzeck@gmail.com
@@ -967,6 +967,7 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
 +#define CONFIG_SYS_MEMTEST_START      0x81000000
 +#define CONFIG_SYS_MEMTEST_END                0x82000000
 +#define CONFIG_SYS_LOAD_ADDR          0x81000000
++#define CONFIG_SYS_LOAD_SIZE          (2 * 1024 * 1024)
 +#define CONFIG_SYS_INIT_SP_OFFSET     (32 * 1024)
 +
 +/* SRAM */