pumpkin: Increase heap and environment variable size

Android libavb use malloc to allocate memory to load the boot.img.
But currently, the memory that could be allocated using malloc
is too small.

In addition, libavb use environment variable that must be used for
the kernel command line. Again, the current size for the environment
variable is too small.

Increase the size of the heap, and the size of environment variable
in order to use and support AVB2.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
diff --git a/include/configs/pumpkin.h b/include/configs/pumpkin.h
index ed4b8ca..83ad5f1 100644
--- a/include/configs/pumpkin.h
+++ b/include/configs/pumpkin.h
@@ -11,9 +11,17 @@
 
 #include <linux/sizes.h>
 
+#ifdef CONFIG_MTK_ANDROID
+// Android needs a bigger environment for libavb usage
+#define CONFIG_ENV_SIZE			SZ_256K
+#define CONFIG_SYS_LOAD_ADDR		CONFIG_SYS_TEXT_BASE
+#define CONFIG_SYS_MALLOC_LEN		SZ_64M
+#define CONFIG_SYS_CBSIZE		SZ_64K
+#else
 #define CONFIG_ENV_SIZE			SZ_4K
 #define CONFIG_SYS_LOAD_ADDR		CONFIG_SYS_TEXT_BASE
 #define CONFIG_SYS_MALLOC_LEN		SZ_4M
+#endif /* CONFIG_MTK_ANDROID */
 
 #define CONFIG_CPU_ARMV8
 #define COUNTER_FREQUENCY		13000000