]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: meson64_android: increase SYS_MALLOC_LEN to 128M for AVB
authorMattijs Korpershoek <mkorpershoek@baylibre.com>
Thu, 5 Aug 2021 15:17:21 +0000 (17:17 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 10 Aug 2021 08:43:54 +0000 (10:43 +0200)
To prepare for AVB support, increase SYS_MALLOC_LEN to 128M.
This value has been found by testing the following on khadas vim3l:
  => avb init
  => avb verify

Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
include/configs/meson64_android.h

index f9f2b2641685acf4fd4d7a2a9cc887d911c990ce..bc3ffb9ca5d122b10894fd47000b483394c63d86 100644 (file)
@@ -9,6 +9,10 @@
 #ifndef __MESON64_ANDROID_CONFIG_H
 #define __MESON64_ANDROID_CONFIG_H
 
+#include <linux/sizes.h>
+
+#define CONFIG_SYS_MALLOC_LEN         SZ_128M
+
 #ifndef BOOT_PARTITION
 #define BOOT_PARTITION "boot"
 #endif