uboot-lantiq: fix boot of images larger than 8MB
[openwrt/staging/wigyori.git] / package / boot / uboot-lantiq / patches / 0109-MIPS-add-board-support-for-Arcadyan-ARV752DPW22.patch
index 85e3ebdb3a96e7f6157cc9eb3534106bf729ec9d..29b9648ca4a4b4a348da940f00cfd50e15f07ce7 100644 (file)
@@ -173,7 +173,7 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
  Active  mips        mips32         danube      gigaset         sx76x               gigasx76x_nor                        sx76x:SYS_BOOT_NOR                                                                                                                Luka Perkov <luka@openwrt.org>
 --- /dev/null
 +++ b/include/configs/arv752dpw22.h
-@@ -0,0 +1,68 @@
+@@ -0,0 +1,70 @@
 +/*
 + * Copyright (C) 2012-2013 Luka Perkov <luka@openwrt.org>
 + *
@@ -194,6 +194,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