diff mbox

[U-Boot,1/1] odroid-c2: increase CONFIG_SYS_BOOTM_LEN

Message ID 1492172278-11056-1-git-send-email-xypron.glpk@gmx.de
State Superseded
Headers show

Commit Message

Heinrich Schuchardt April 14, 2017, 12:17 p.m. UTC
A feature rich Kernel for Linux needs more than 8 MiB.
Hence enlarge CONFIG_SYS_BOOTM_LEN to 64 MiB for the Odroid C2.
As the Odroid C2 has has 2 GiB of RAM this poses no problem.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 include/configs/meson-gxbb-common.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Andreas Färber April 14, 2017, 5:33 p.m. UTC | #1
Hi,

Am 14.04.2017 um 14:17 schrieb Heinrich Schuchardt:
> A feature rich Kernel for Linux needs more than 8 MiB.

"Linux kernel"?

> Hence enlarge CONFIG_SYS_BOOTM_LEN to 64 MiB for the Odroid C2.
> As the Odroid C2 has has 2 GiB of RAM this poses no problem.

Duplicate "has", and "Odroid-C2".

You are touching a generic GXBB file but reason with Odroid-C2. I have
been chain-loading it on the Tronsmart Vega S95 Telos, for instance. I
believe your change is generally okay, but you should fix both lines
above and probably also the subject.

Regards,
Andreas
diff mbox

Patch

diff --git a/include/configs/meson-gxbb-common.h b/include/configs/meson-gxbb-common.h
index c3229ea..e993263 100644
--- a/include/configs/meson-gxbb-common.h
+++ b/include/configs/meson-gxbb-common.h
@@ -54,4 +54,6 @@ 
 	MESON_FDTFILE_SETTING \
 	BOOTENV
 
+#define CONFIG_SYS_BOOTM_LEN    (64 << 20)      /* 64 MiB */
+
 #endif /* __MESON_GXBB_COMMON_CONFIG_H */