[PATCH v1 1/1] firmware: tee_bnxt: reduce shared mem size to 4K
From: Rayagonda Kokatanur
Date: Mon Oct 05 2020 - 06:20:24 EST
Reduce the DMA shared memory for OP-TEE and Linux to 4K.
Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@xxxxxxxxxxxx>
---
drivers/firmware/broadcom/tee_bnxt_fw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/firmware/broadcom/tee_bnxt_fw.c b/drivers/firmware/broadcom/tee_bnxt_fw.c
index ed10da5313e8..3da6a01aff9b 100644
--- a/drivers/firmware/broadcom/tee_bnxt_fw.c
+++ b/drivers/firmware/broadcom/tee_bnxt_fw.c
@@ -12,7 +12,7 @@
#include <linux/firmware/broadcom/tee_bnxt_fw.h>
-#define MAX_SHM_MEM_SZ SZ_4M
+#define MAX_SHM_MEM_SZ SZ_4K
#define MAX_TEE_PARAM_ARRY_MEMB 4
--
2.17.1
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature