summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGerard Salvatella <gerard.salvatella@toradex.com>2019-05-09 16:46:15 +0200
committerGerard Salvatella <gerard.salvatella@toradex.com>2019-05-10 17:06:16 +0200
commitbee156afa17f1da4c04b5dbbc5c1ae0b87e13587 (patch)
tree63af1a4e89ff047c831b2864664e6d1739567bb9 /include
parentb826429c457abf26d979ddf147d60269207ec80a (diff)
apalis-imx8: increase bootm loading size
By default bootm can load kernels of up to 5MB. Our universal kernels in imx8 are much larger than this, even when compressed. Since recovery tezi needs to load from memory, allow for larger sizes to be loaded by bootm. Signed-off-by: Gerard Salvatella <gerard.salvatella@toradex.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/apalis-imx8.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/apalis-imx8.h b/include/configs/apalis-imx8.h
index 488d748eb58..7d22ee51202 100644
--- a/include/configs/apalis-imx8.h
+++ b/include/configs/apalis-imx8.h
@@ -196,6 +196,8 @@
#define CONFIG_MMCROOT "/dev/mmcblk0p2" /* USDHC1 eMMC */
#define CONFIG_SYS_FSL_USDHC_NUM 3
+#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */
+
/* Size of malloc() pool */
#define CONFIG_SYS_MALLOC_LEN ((CONFIG_ENV_SIZE + (32*1024)) * 1024)