diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2021-06-04 13:30:02 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2021-06-04 16:01:22 +0200 |
commit | bb33b94f1466399a995a0d052dca7b9224e3bd45 (patch) | |
tree | 2dd6306225361e47a9ef40f6a81a5487920a09ab /arch/arm/configs | |
parent | 100c6edbc1d04fa33c28ffad8ace36946d1635f5 (diff) |
colibri_imx7_defconfig: reduce cma size
With the reserved regions for M4 and rpmsg use there is not enough
continuous memory left to reserve 256 MiB.
For modules with 256MB RAM the 50% of available memory rule limits the
size to 128MB, i.e. this commit does not further reduce the CMA size.
For modules with 1GB of RAM this also reduces the CMA size to 192MB
even though 256MB would be possible.
Prevents getting the following error message:
[ 0.000000] cma: Failed to reserve 256 MiB
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'arch/arm/configs')
-rw-r--r-- | arch/arm/configs/colibri_imx7_defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/configs/colibri_imx7_defconfig b/arch/arm/configs/colibri_imx7_defconfig index 8d637592b649..cd9fca64ddd4 100644 --- a/arch/arm/configs/colibri_imx7_defconfig +++ b/arch/arm/configs/colibri_imx7_defconfig @@ -488,7 +488,7 @@ CONFIG_CRC_CCITT=y CONFIG_CRC_T10DIF=y CONFIG_CRC7=m CONFIG_DMA_CMA=y -CONFIG_CMA_SIZE_MBYTES=256 +CONFIG_CMA_SIZE_MBYTES=192 CONFIG_CMA_SIZE_PERCENTAGE=50 CONFIG_CMA_SIZE_SEL_MIN=y CONFIG_FONTS=y |