qcacmn: Move regdef for qca8074 out of AHB compiler flag
X86 uses PCI to connect to qca8074. ATH_AHB is not enabled on x86 but regdef is required to set correct offset for registers. Move the initialization code out of ATH_AHB compiler flag. Change-Id: I369f9c87e006fa3ae929e18a6922332d84f01382 CRs-Fixed: 1079647
This commit is contained in:

committed by
qcabuildsw

parent
7cec5a90f0
commit
8c8390a7c2
@@ -103,12 +103,12 @@ void hif_target_register_tbl_attach(struct hif_softc *scn, u32 target_type)
|
||||
scn->target_ce_def = IPQ4019_CE_TARGETdef;
|
||||
break;
|
||||
#endif
|
||||
#endif
|
||||
#if defined(QCA8074_HEADERS_DEF)
|
||||
case TARGET_TYPE_QCA8074:
|
||||
scn->targetdef = QCA8074_TARGETdef;
|
||||
scn->target_ce_def = QCA8074_CE_TARGETdef;
|
||||
break;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
default:
|
||||
@@ -173,11 +173,11 @@ void hif_register_tbl_attach(struct hif_softc *scn, u32 hif_type)
|
||||
scn->hostdef = IPQ4019_HOSTdef;
|
||||
break;
|
||||
#endif
|
||||
#endif
|
||||
#if defined(QCA8074_HEADERS_DEF)
|
||||
case HIF_TYPE_QCA8074:
|
||||
scn->hostdef = QCA8074_HOSTdef;
|
||||
break;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user