diff mbox

[v4,03/10] vexpress64: increase max gunzip size

Message ID 1444407488-32646-4-git-send-email-ryan.harkin@linaro.org
State Accepted
Commit 0d3012af5a395d25bb0ab67946158e5bf8d33d5b
Headers show

Commit Message

Ryan Harkin Oct. 9, 2015, 4:18 p.m. UTC
vexpress64 kernels are usually over 8 MBytes in length, so setting the
max uImage length to 64 Mbytes should give us plenty of scope for
expansion.

I mostly chose this length to match other board configs that use
"(64 << 20)".

Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
---
 include/configs/vexpress_aemv8a.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Tom Rini Oct. 12, 2015, 3:17 p.m. UTC | #1
On Fri, Oct 09, 2015 at 05:18:01PM +0100, Ryan Harkin wrote:

> vexpress64 kernels are usually over 8 MBytes in length, so setting the
> max uImage length to 64 Mbytes should give us plenty of scope for
> expansion.
> 
> I mostly chose this length to match other board configs that use
> "(64 << 20)".
> 
> Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/configs/vexpress_aemv8a.h b/include/configs/vexpress_aemv8a.h
index 53b0f74..c54baf8 100644
--- a/include/configs/vexpress_aemv8a.h
+++ b/include/configs/vexpress_aemv8a.h
@@ -41,6 +41,8 @@ 
 #error "Unknown board variant"
 #endif
 
+#define CONFIG_SYS_BOOTM_LEN (64 << 20)      /* Increase max gunzip size */
+
 /* Flat Device Tree Definitions */
 #define CONFIG_OF_LIBFDT