1
0

wil6210: add debugfs blobs for UCODE code and data

Added new areas to fw_mappings area for UCODE code
and data areas.
The new areas are only exposed through debugfs blobs,
and mainly needed to access UCODE logs.
The change does not affect crash dumps because the
newly added areas overlap with the "upper" area which
is already dumped.

Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Este cometimento está contido em:
Lior David
2016-11-28 13:49:02 +02:00
cometido por Kalle Valo
ascendente 1db226ffe1
cometimento 6157882005
3 ficheiros modificados com 33 adições e 15 eliminações

Ver ficheiro

@@ -276,10 +276,11 @@ struct fw_map {
u32 to; /* linker address - to, exclusive */
u32 host; /* PCI/Host address - BAR0 + 0x880000 */
const char *name; /* for debugfs */
bool fw; /* true if FW mapping, false if UCODE mapping */
};
/* array size should be in sync with actual definition in the wmi.c */
extern const struct fw_map fw_mapping[8];
extern const struct fw_map fw_mapping[10];
/**
* mk_cidxtid - construct @cidxtid field