summaryrefslogtreecommitdiff
path: root/package/boot/uboot-lantiq/patches/0111-MIPS-add-board-support-for-Arcadyan-ARV7510PW22.patch
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-12-30 21:42:05 +0100
committerMathias Kresin <dev@kresin.me>2017-01-02 19:16:54 +0100
commit8c822ec4ca7557563370aa568c034edda81e6b6e (patch)
tree610be869c4a4f72a32ee8e64632d73180a54a579 /package/boot/uboot-lantiq/patches/0111-MIPS-add-board-support-for-Arcadyan-ARV7510PW22.patch
parentcfe1c6debe8247ce9239b92aa1213fde396b1405 (diff)
downloadmtk-20170518-8c822ec4ca7557563370aa568c034edda81e6b6e.zip
mtk-20170518-8c822ec4ca7557563370aa568c034edda81e6b6e.tar.gz
mtk-20170518-8c822ec4ca7557563370aa568c034edda81e6b6e.tar.bz2
uboot-lantiq: fix boot of images larger than 8MB
Increasing CONFIG_SYS_BOOTM_LEN from 8 MB to 16 MB is necessary to support uncompressing images larger than 8 MB when using the bootm command. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'package/boot/uboot-lantiq/patches/0111-MIPS-add-board-support-for-Arcadyan-ARV7510PW22.patch')
-rw-r--r--package/boot/uboot-lantiq/patches/0111-MIPS-add-board-support-for-Arcadyan-ARV7510PW22.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/boot/uboot-lantiq/patches/0111-MIPS-add-board-support-for-Arcadyan-ARV7510PW22.patch b/package/boot/uboot-lantiq/patches/0111-MIPS-add-board-support-for-Arcadyan-ARV7510PW22.patch
index 902a7cf..416f16e 100644
--- a/package/boot/uboot-lantiq/patches/0111-MIPS-add-board-support-for-Arcadyan-ARV7510PW22.patch
+++ b/package/boot/uboot-lantiq/patches/0111-MIPS-add-board-support-for-Arcadyan-ARV7510PW22.patch
@@ -168,7 +168,7 @@
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>
+ *
@@ -189,6 +189,8 @@
+
+#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