uboot-lantiq: fix boot of images larger than 8MB
[openwrt/staging/yousong.git] / package / boot / uboot-lantiq / patches / 0115-MIPS-add-board-support-for-Arcadyan-ARV7506PW11.patch
index b7a8a6ac2a7541ca9bbad834d236044dd1cb6032..2a7c49c0692baf0c9f5e765990f47ff2b396e60f 100644 (file)
  Active  mips        mips32         danube      arcadyan        arv7510pw           arv7510pw_ram                        arv7510pw:SYS_BOOT_RAM                                                                                                            Luka Perkov <luka@openwrt.org>
 --- /dev/null
 +++ b/include/configs/arv7506pw11.h
-@@ -0,0 +1,62 @@
+@@ -0,0 +1,64 @@
 +/*
 + * Copyright (C) 2016 Mathias Kresin <dev@kresin.me>
 + *
 +
 +#define CONFIG_LTQ_SUPPORT_NOR_FLASH  /* Have a parallel NOR flash */
 +
++#define CONFIG_SYS_BOOTM_LEN          0x1000000       /* 16 MB */
++
 +/* Switch devices */
 +#define CONFIG_SWITCH_MULTI
 +#define CONFIG_SWITCH_RTL8306