qcacmn: Enable QCA6390

1. Allocate and Initialize host and target copy engine configuration
   for QCA6390 based products.
2. Setup Copy engine service map for QCA6390.
3. Add conditional compilation flag QCA_WIFI_QCA6390 to support
   QCA6390 based products.

Change-Id: Ia4dd4d436b8ecae0e9f91faa0c1fe7dbd14f001f
CRs-Fixed: 2259312
This commit is contained in:
Venkata Sharath Chandra Manchala
2018-06-12 15:16:36 -07:00
committato da nshrivas
parent 01abdac6a0
commit 79860aa182
15 ha cambiato i file con 135 aggiunte e 14 eliminazioni

Vedi File

@@ -108,13 +108,20 @@ void hif_target_register_tbl_attach(struct hif_softc *scn, u32 target_type)
#endif
#if defined(QCA6290_HEADERS_DEF)
/* use the same defs for HAWKEYE & NAPIER */
case TARGET_TYPE_QCA6290:
scn->targetdef = QCA6290_TARGETdef;
scn->target_ce_def = QCA6290_CE_TARGETdef;
break;
#endif
#if defined(QCA6390_HEADERS_DEF)
case TARGET_TYPE_QCA6390:
scn->targetdef = QCA6390_TARGETdef;
scn->target_ce_def = QCA6390_CE_TARGETdef;
HIF_TRACE("%s: TARGET_TYPE_QCA6390", __func__);
break;
#endif /* QCA6390_HEADERS_DEF */
default:
break;
}
@@ -194,6 +201,13 @@ void hif_register_tbl_attach(struct hif_softc *scn, u32 hif_type)
break;
#endif
#if defined(QCA6390_HEADERS_DEF)
case HIF_TYPE_QCA6390:
scn->hostdef = QCA6390_HOSTdef;
HIF_TRACE("%s: HIF_TYPE_QCA6390", __func__);
break;
#endif /* QCA6390_HEADERS_DEF */
default:
break;
}