openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

commit 3ab2992b3bd305abefb2fdbebb50cb186b49f7b6
parent 3883bea4634566c59ec42d87aa819a203fdd78cb
Author: Broadcom SDK Release <sdk.releases@broadcom.com>
Date:   Thu,  6 Aug 2020 12:23:42 -0700

SDK-203938: Skipped the CDPORT_TSC_UCMEM_DATA from the memory dump operation.

Devices: 56980_A0
Module: SOC

Symptom:
Using the socmem command on certain memories that need special
programming to read caused issues.  Skip those memories for socmem
command



Diffstat:
Msdk-6.5.16/src/appl/diag/esw/dump.c | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/sdk-6.5.16/src/appl/diag/esw/dump.c b/sdk-6.5.16/src/appl/diag/esw/dump.c @@ -2214,6 +2214,14 @@ bypass_dump_table(int unit, soc_mem_t mem, uint32 copyno, int flags) } } +#ifdef BCM_TOMAHAWK3_SUPPORT + if (SOC_IS_TOMAHAWK3(unit)) { + if (mem == CDPORT_TSC_UCMEM_DATAm) { + return TRUE; + } + } +#endif + return FALSE; }