[qca-nss-drv] Remove c2c_start address from the if_mem map
Meminfo already has that information. If_mam_map doesn't need to
have c2c_start address.
Change-Id: I85f225cca6846db9fc8970118fdfc0a5a6525de4
Signed-off-by: Cemil Coskun <ccoskun@codeaurora.org>
diff --git a/nss_meminfo.c b/nss_meminfo.c
index 719a4aa..1a0d36f 100644
--- a/nss_meminfo.c
+++ b/nss_meminfo.c
@@ -305,6 +305,11 @@
mem_ctx->logbuffer = (struct nss_log_descriptor *)kern_addr;
}
+ if (!strcmp(r->name, "c2c_descs_if_mem_map")) {
+ mem_ctx->c2c_start_memtype = mtype;
+ mem_ctx->c2c_start_dma = dma_addr;
+ }
+
/*
* Flush the updated meminfo request.
*/