uboot-lantiq: fix boot of images larger than 8MB
[openwrt/staging/wigyori.git] / package / boot / uboot-lantiq / patches / 0106-MIPS-add-board-support-for-Gigaset-SX76X.patch
index 96737fa4839b10b55c00d0749ad3a8b84eb0606a..16946e9bfd3a3652a502b56ea5bf47c1b10364d1 100644 (file)
@@ -185,7 +185,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/sx76x.h
-@@ -0,0 +1,59 @@
+@@ -0,0 +1,61 @@
 +/*
 + * Copyright (C) 2011-2013 Luka Perkov <luka@openwrt.org>
 + *
@@ -206,6 +206,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_ADM6996I