From 89e10ac423069dca3e5d399ba2692e0675be03ce Mon Sep 17 00:00:00 2001 From: liuwang2 Date: Fri, 29 Apr 2022 18:15:05 +0800 Subject: [PATCH] camera: ois: modify flash erase len reduce flash erase len. avoid gyro gain is erased when use erase node. Change-Id: Ie2b684bacfda850723ca309d5bd534ffde8e9ff0 Signed-off-by: liuwang2 Reviewed-on: https://gerrit.mot.com/2256883 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Reviewed-by: XiaoFeng Wang Reviewed-by: Reviewed-by: Zhichao Chen Submit-Approved: Jira Key --- drivers/cam_sensor_module/cam_ois/cam_ois_aw86006.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cam_sensor_module/cam_ois/cam_ois_aw86006.h b/drivers/cam_sensor_module/cam_ois/cam_ois_aw86006.h index b5cc9b2bef02..fd732b6a0fc4 100644 --- a/drivers/cam_sensor_module/cam_ois/cam_ois_aw86006.h +++ b/drivers/cam_sensor_module/cam_ois/cam_ois_aw86006.h @@ -77,7 +77,7 @@ #define AW_FLASH_BASE_ADDR (0x01000000) #define AW_FLASH_APP_ADDR (0x01002000) #define AW_FLASH_MOVE_LENGTH (AW_FLASH_APP_ADDR - AW_FLASH_BASE_ADDR) -#define AW_FLASH_FULL_SIZE (0x10000) +#define AW_FLASH_FULL_SIZE (0xB000) #define AW_FLASH_TOP_ADDR (AW_FLASH_BASE_ADDR + AW_FLASH_FULL_SIZE) #define AW_FLASH_ERASE_LEN (512) #define AW_FLASH_WRITE_LEN (64)