uboot-lantiq: fix boot of images larger than 8MB
[openwrt/staging/yousong.git] / package / boot / uboot-lantiq / patches / 0111-MIPS-add-board-support-for-Arcadyan-ARV7510PW22.patch
index 902a7cfb5e3d7be23b1b7995a62e08d849ee176f..416f16ed00f5a2e76d365202e298bb68b40bdfd0 100644 (file)
  Active  mips        mips32         danube      arcadyan        arv7518pw           arv7518pw_ram                        arv7518pw:SYS_BOOT_RAM                                                                                                            Luka Perkov <luka@openwrt.org>
 --- /dev/null
 +++ b/include/configs/arv7510pw22.h
-@@ -0,0 +1,67 @@
+@@ -0,0 +1,69 @@
 +/*
 + * Copyright (C) 2014 Álvaro Fernández Rojas <noltari@gmail.com>
 + *
 +
 +#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_AR8216