aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-lantiq/patches/0105-MIPS-add-board-support-for-AVM-FritzBox-3370.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/0105-MIPS-add-board-support-for-AVM-FritzBox-3370.patch
parentcfe1c6debe8247ce9239b92aa1213fde396b1405 (diff)
downloadupstream-8c822ec4ca7557563370aa568c034edda81e6b6e.tar.gz
upstream-8c822ec4ca7557563370aa568c034edda81e6b6e.tar.bz2
upstream-8c822ec4ca7557563370aa568c034edda81e6b6e.zip
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/0105-MIPS-add-board-support-for-AVM-FritzBox-3370.patch')
-rw-r--r--package/boot/uboot-lantiq/patches/0105-MIPS-add-board-support-for-AVM-FritzBox-3370.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/boot/uboot-lantiq/patches/0105-MIPS-add-board-support-for-AVM-FritzBox-3370.patch b/package/boot/uboot-lantiq/patches/0105-MIPS-add-board-support-for-AVM-FritzBox-3370.patch
index 77014e44ce..d7850e4b5b 100644
--- a/package/boot/uboot-lantiq/patches/0105-MIPS-add-board-support-for-AVM-FritzBox-3370.patch
+++ b/package/boot/uboot-lantiq/patches/0105-MIPS-add-board-support-for-AVM-FritzBox-3370.patch
@@ -273,7 +273,7 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Active mips mips32 vrx200 lantiq easy80920 easy80920_norspl easy80920:SYS_BOOT_NORSPL Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
--- /dev/null
+++ b/include/configs/fb3370.h
-@@ -0,0 +1,78 @@
+@@ -0,0 +1,80 @@
+/*
+ * Copyright (C) 2011-2013 Daniel Schwierzeck, daniel.schwierzeck@googlemail.com
+ *
@@ -308,6 +308,8 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
+
+#define CONFIG_SYS_DRAM_PROBE
+
++#define CONFIG_SYS_BOOTM_LEN 0x1000000 /* 16 MB */
++
+/* Environment */
+#define CONFIG_ENV_SPI_BUS CONFIG_SPL_SPI_BUS
+#define CONFIG_ENV_SPI_CS CONFIG_SPL_SPI_CS