qcacmn: Abstract bus debug dump in hif layer
Remove direct call to CE debug routine from ol_fw and
hif main layer. Abstract the bus debug dump
register routines to respective hif bus layer.
Change-Id: I8b6f325f12aaa99e4f7461f9da26b7f60259c8f8
CRs-Fixed: 964031
diff --git a/hif/src/ce/ce_main.h b/hif/src/ce/ce_main.h
index 8806bd3..4589c46 100644
--- a/hif/src/ce/ce_main.h
+++ b/hif/src/ce/ce_main.h
@@ -35,6 +35,9 @@
#define CE_HTT_T2H_MSG 1
#define CE_HTT_H2T_MSG 4
+#define CE_OFFSET 0x00000400
+#define CE_USEFUL_SIZE 0x00000058
+
/**
* enum ce_id_type
*
@@ -129,4 +132,5 @@
/* Copy Engine used for Diagnostic Accesses */
struct CE_handle *ce_diag;
};
+int hif_dump_ce_registers(struct ol_softc *scn);
#endif /* __CE_H__ */