From 8f7a1ff2c6beaa978e32d159f3799ef576817197 Mon Sep 17 00:00:00 2001 From: Govind Singh Date: Fri, 6 May 2016 16:35:12 +0530 Subject: [PATCH] qcacmn: Abstract delta code of fw common to respective layer FW common files needs to be in sync with host and fw. Abstract extra definition of hia map internal to hif layer. MSI_NUM_REQUEST is incorrectly overwritten, keep the original change as MSI_ENABLE is false across all target versions. These changes are incorrectly added in following change id. Iced029073c2db9eb175adcebcad9163ab39443a9. Change-Id: Ie38666f315067ae40676e3bdac9238e4b52e6be1 CRs-Fixed: 1012542 --- hif/src/ce/ce_main.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/hif/src/ce/ce_main.h b/hif/src/ce/ce_main.h index 7a799689ac5f..04a3e949c17e 100644 --- a/hif/src/ce/ce_main.h +++ b/hif/src/ce/ce_main.h @@ -141,6 +141,27 @@ struct HIF_CE_state { /* Copy Engine used for Diagnostic Accesses */ struct CE_handle *ce_diag; }; + +/* + * HIA Map Definition + */ +struct host_interest_area_t { + uint32_t hi_interconnect_state; + uint32_t hi_early_alloc; + uint32_t hi_option_flag2; + uint32_t hi_board_data; + uint32_t hi_board_data_initialized; + uint32_t hi_failure_state; + uint32_t hi_rddi_msi_num; + uint32_t hi_pcie_perst_couple_en; + uint32_t hi_sw_protocol_version; +}; + +struct shadow_reg_cfg { + uint16_t ce_id; + uint16_t reg_offset; +}; + int hif_dump_ce_registers(struct hif_softc *scn); int hif_wlan_enable(struct hif_softc *scn);