qcacmn: Reduce CE5 size to 0 for 6490
Reduce CE5 size to 0 for 6490 , this will save 1 mb of memory Change-Id: Ifff574944b2dfd93ee8e056999bc8d30dd814c1a CRs-Fixed: 3068274
This commit is contained in:

committed by
Madan Koyyalamudi

parent
63cbee363b
commit
164ba5cc5a
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2014-2021 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2014-2021 The Linux Foundation. All rights reserved.
|
||||||
|
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for
|
* Permission to use, copy, modify, and/or distribute this software for
|
||||||
* any purpose with or without fee is hereby granted, provided that the
|
* any purpose with or without fee is hereby granted, provided that the
|
||||||
@@ -1361,8 +1362,12 @@ static struct CE_attr host_ce_config_wlan_qca6490[] = {
|
|||||||
{ /* CE4 */ CE4_COMP_HTT_HTC, 0,
|
{ /* CE4 */ CE4_COMP_HTT_HTC, 0,
|
||||||
CE_HTT_H2T_MSG_SRC_NENTRIES_QCA6490, 256, 0, NULL,},
|
CE_HTT_H2T_MSG_SRC_NENTRIES_QCA6490, 256, 0, NULL,},
|
||||||
/* target -> host PKTLOG */
|
/* target -> host PKTLOG */
|
||||||
|
#ifdef REMOVE_PKT_LOG
|
||||||
|
{ /* CE5 */ 0, 0, 0, 0, 0, NULL,},
|
||||||
|
#else
|
||||||
{ /* CE5 */ (CE_ATTR_FLAGS | CE_ATTR_DISABLE_INTR), 0, 0, 2048, 512,
|
{ /* CE5 */ (CE_ATTR_FLAGS | CE_ATTR_DISABLE_INTR), 0, 0, 2048, 512,
|
||||||
NULL,},
|
NULL,},
|
||||||
|
#endif
|
||||||
/* Target autonomous HIF_memcpy */
|
/* Target autonomous HIF_memcpy */
|
||||||
{ /* CE6 */ CE_ATTR_FLAGS, 0, 0, 0, 0, NULL,},
|
{ /* CE6 */ CE_ATTR_FLAGS, 0, 0, 0, 0, NULL,},
|
||||||
/* ce_diag, the Diagnostic Window */
|
/* ce_diag, the Diagnostic Window */
|
||||||
@@ -1386,7 +1391,11 @@ static struct CE_pipe_config target_ce_config_wlan_qca6490[] = {
|
|||||||
{ /* CE4 */ 4, PIPEDIR_OUT, 256, 256,
|
{ /* CE4 */ 4, PIPEDIR_OUT, 256, 256,
|
||||||
(CE_ATTR_FLAGS | CE_ATTR_DISABLE_INTR), 0,},
|
(CE_ATTR_FLAGS | CE_ATTR_DISABLE_INTR), 0,},
|
||||||
/* Target -> host PKTLOG */
|
/* Target -> host PKTLOG */
|
||||||
|
#ifdef REMOVE_PKT_LOG
|
||||||
|
{ /* CE5 */ 5, PIPEDIR_IN, 2, 2048, CE_ATTR_FLAGS, 0,},
|
||||||
|
#else
|
||||||
{ /* CE5 */ 5, PIPEDIR_IN, 32, 2048, CE_ATTR_FLAGS, 0,},
|
{ /* CE5 */ 5, PIPEDIR_IN, 32, 2048, CE_ATTR_FLAGS, 0,},
|
||||||
|
#endif
|
||||||
/* Reserved for target autonomous HIF_memcpy */
|
/* Reserved for target autonomous HIF_memcpy */
|
||||||
{ /* CE6 */ 6, PIPEDIR_INOUT, 32, 16384, CE_ATTR_FLAGS, 0,},
|
{ /* CE6 */ 6, PIPEDIR_INOUT, 32, 16384, CE_ATTR_FLAGS, 0,},
|
||||||
/* CE7 used only by Host */
|
/* CE7 used only by Host */
|
||||||
|
Reference in New Issue
Block a user