summaryrefslogtreecommitdiff
path: root/arch/arm64/configs
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2021-06-30 13:58:44 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2021-06-30 15:03:33 +0200
commitf1d5aa9766216ace080acaad9e44b316d4c510c9 (patch)
tree724d68b6db944238b2f74717fdd47dd7bef7570d /arch/arm64/configs
parent28ba8936b70b2d1cafa5a7c10da5afc1b4ec12cc (diff)
toradex_defconfig: reduce cma size
Reduce the size of the continguous memory allocator to 256MB or 12% of the total memory size, which ever is less. Related-to: ELB-4019 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'arch/arm64/configs')
-rw-r--r--arch/arm64/configs/toradex_defconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm64/configs/toradex_defconfig b/arch/arm64/configs/toradex_defconfig
index 3b7501859efc..3d2132c9263f 100644
--- a/arch/arm64/configs/toradex_defconfig
+++ b/arch/arm64/configs/toradex_defconfig
@@ -1056,7 +1056,9 @@ CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=m
# CONFIG_RAID6_PQ_BENCHMARK is not set
CONFIG_INDIRECT_PIO=y
CONFIG_CRC_CCITT=y
-CONFIG_CMA_SIZE_MBYTES=320
+CONFIG_CMA_SIZE_MBYTES=256
+CONFIG_CMA_SIZE_PERCENTAGE=12
+CONFIG_CMA_SIZE_SEL_MIN=y
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y