summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMattijs Korpershoek <mkorpershoek@baylibre.com>2021-08-05 18:17:20 +0300
committerNeil Armstrong <narmstrong@baylibre.com>2021-08-10 11:43:54 +0300
commitd5d0296861a9a546e6636fa335b693eb60fd8d59 (patch)
treebe29e609e821d4b4db76cd342fef02e250f4f909 /include
parent480aeb0aa7b1fcb78e15d1678610f61ff421b883 (diff)
downloadu-boot-d5d0296861a9a546e6636fa335b693eb60fd8d59.tar.xz
configs: meson64: permit redefining SYS_MALLOC_LEN
Permit redefining SYS_MALLOC_LEN for board specific configs. This is especially useful for Android with AVB, which requires a malloc length of 128M. Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Acked-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/meson64.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/meson64.h b/include/configs/meson64.h
index fb7f16d148..f9bb0240d2 100644
--- a/include/configs/meson64.h
+++ b/include/configs/meson64.h
@@ -32,7 +32,9 @@
#define CONFIG_CPU_ARMV8
#define CONFIG_REMAKE_ELF
#define CONFIG_SYS_MAXARGS 32
+#ifndef CONFIG_SYS_MALLOC_LEN
#define CONFIG_SYS_MALLOC_LEN (32 << 20)
+#endif
#define CONFIG_SYS_CBSIZE 1024
#define CONFIG_SYS_SDRAM_BASE 0