qcacmn: Add changes to skip fw boot, reset and HIA config
This change is applicable to Hawkeye VP bringup. It is added under QCA_WIFI_QCA8074_VP flag Change-Id: Ief32afebf2a306425e33e4ebc56351f10c609198 CRs-Fixed: 1063252
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
31108f318c
commit
182a88a349
@@ -1960,6 +1960,7 @@ int hif_pci_bus_configure(struct hif_softc *hif_sc)
|
||||
if (status)
|
||||
goto disable_wlan;
|
||||
|
||||
#ifndef QCA_WIFI_QCA8074_VP
|
||||
status = hif_set_hia(hif_sc);
|
||||
if (status)
|
||||
goto unconfig_ce;
|
||||
@@ -1967,6 +1968,7 @@ int hif_pci_bus_configure(struct hif_softc *hif_sc)
|
||||
HIF_INFO_MED("%s: hif_set_hia done", __func__);
|
||||
|
||||
hif_register_bmi_callbacks(hif_sc);
|
||||
#endif
|
||||
|
||||
status = hif_configure_irq(hif_sc);
|
||||
if (status < 0)
|
||||
|
@@ -498,6 +498,7 @@ QDF_STATUS hif_ahb_enable_bus(struct hif_softc *ol_sc,
|
||||
hif_register_tbl_attach(ol_sc, hif_type);
|
||||
hif_target_register_tbl_attach(ol_sc, target_type);
|
||||
|
||||
#ifndef QCA_WIFI_QCA8074_VP
|
||||
if (hif_ahb_enable_radio(sc, pdev, id) != 0) {
|
||||
HIF_INFO("error in enabling soc\n");
|
||||
return -EIO;
|
||||
@@ -507,13 +508,16 @@ QDF_STATUS hif_ahb_enable_bus(struct hif_softc *ol_sc,
|
||||
ret = -EIO;
|
||||
goto err_target_sync;
|
||||
}
|
||||
#endif
|
||||
HIF_TRACE("%s: X - hif_type = 0x%x, target_type = 0x%x",
|
||||
__func__, hif_type, target_type);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
#ifndef QCA_WIFI_QCA8074_VP
|
||||
err_target_sync:
|
||||
HIF_INFO("Error: Disabling target\n");
|
||||
hif_ahb_disable_bus(ol_sc);
|
||||
#endif
|
||||
err_cleanup1:
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user