From 143da9c58fb93ec66dbaa0fc3903d4b8dde4613c Mon Sep 17 00:00:00 2001 From: liaohj Date: Sat, 7 May 2022 14:22:57 +0800 Subject: [PATCH] configs/rhodep: config aw882xx mapsize 16k after aw882xx algo update to support get algo params from ram. need enlarge afe mapsize to 16k. Change-Id: I7079aaf7a2d239c90ce99d035f2d870e8b376ad7 Signed-off-by: liaohj Reviewed-on: https://gerrit.mot.com/2262544 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wanlong Zhou Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- arch/arm64/Kconfig | 10 ++++++++-- .../configs/vendor/ext_config/moto-holi-rhodep.config | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 0093666e1834..b0c563287c76 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1884,7 +1884,13 @@ config AW882XX_STEREO_SMARTPA bool "aw dual smart pa" default n help - Enable it only for params of smartPA is stored in bin file. + Enable it only for dual smart pa. + +config AW882XX_MAPSIZE_16K + bool "aw afe mapsize 16k" + default n + help + Enable it only for use 16k mapsize. config CAMERA_FLASH_PWM bool "control flash" @@ -1908,4 +1914,4 @@ config CAMERA_CCI_ADDR_SWITCH bool "For cam switch i2c address" default n help - Enable it to switch i2c address. \ No newline at end of file + Enable it to switch i2c address. diff --git a/arch/arm64/configs/vendor/ext_config/moto-holi-rhodep.config b/arch/arm64/configs/vendor/ext_config/moto-holi-rhodep.config index 51a7a99aa3c7..8ad3bb171e47 100644 --- a/arch/arm64/configs/vendor/ext_config/moto-holi-rhodep.config +++ b/arch/arm64/configs/vendor/ext_config/moto-holi-rhodep.config @@ -21,6 +21,7 @@ CONFIG_ZRAM_WRITEBACK=y # CONFIG_REGULATOR_QPNP_LCDB is not set CONFIG_AW882XX_STEREO_SMARTPA=y CONFIG_AW882XX_PARAMS_FROM_BIN=y +CONFIG_AW882XX_MAPSIZE_16K=y # CONFIG_MICRON_UFSHID is not set CONFIG_QUP0_SE2_AP=y CONFIG_CAMERA_FLASH_PWM=y