qcacmn: Device and Target type support for qca6018

Added target and device type support for qca6018.

Change-Id: I85382bf053d0a5f34cfaf0cca78a4b66b4265989
CRs-Fixed: 2323023
This commit is contained in:
Basamma Yakkanahalli
2018-11-02 15:52:37 +05:30
committed by nshrivas
parent 30265f8aeb
commit 5f7cfd49c2
20 changed files with 94 additions and 26 deletions

View File

@@ -119,6 +119,12 @@ void hif_target_register_tbl_attach(struct hif_softc *scn, u32 target_type)
scn->target_ce_def = QCA8074V2_CE_TARGETDEF;
break;
#endif
#if defined(QCA6018_HEADERS_DEF)
case TARGET_TYPE_QCA6018:
scn->targetdef = QCA6018_TARGETDEF;
scn->target_ce_def = QCA6018_CE_TARGETDEF;
break;
#endif
#if defined(QCA6390_HEADERS_DEF)
case TARGET_TYPE_QCA6390:
@@ -205,6 +211,12 @@ void hif_register_tbl_attach(struct hif_softc *scn, u32 hif_type)
scn->hostdef = QCA8074V2_HOSTDEF;
break;
#endif
#if defined(QCA6018_HEADERS_DEF)
case HIF_TYPE_QCA6018:
scn->hostdef = QCA6018_HOSTDEF;
HIF_TRACE("%s: HIF_TYPE_QCA6018", __func__);
break;
#endif
#if defined(QCA6290_HEADERS_DEF)
case HIF_TYPE_QCA6290:
scn->hostdef = QCA6290_HOSTdef;