uboot-lantiq: fix boot of images larger than 8MB
[openwrt/staging/wigyori.git] / package / boot / uboot-lantiq / patches / 0102-MIPS-add-board-support-for-Arcadyan-ARV4519PW.patch
index 51738e40b8af929e17d6e2a0f4151e0ae1a7ace1..413061cbaf09248a880fa9bf27b8d9587d90269e 100644 (file)
@@ -172,7 +172,7 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
  Active  mips        mips32         danube      lantiq          easy50712           easy50712_ram                        easy50712:SYS_BOOT_RAM                                                                                                            Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
 --- /dev/null
 +++ b/include/configs/arv4519pw.h
-@@ -0,0 +1,67 @@
+@@ -0,0 +1,69 @@
 +/*
 + * Copyright (C) 2012-2013 Luka Perkov <luka@openwrt.org>
 + *
@@ -193,6 +193,8 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@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