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
@@ -35,8 +35,8 @@ extern struct targetdef_s *QCA9984_TARGETdef;
|
||||
extern struct targetdef_s *QCA9888_TARGETdef;
|
||||
#ifdef ATH_AHB
|
||||
extern struct targetdef_s *IPQ4019_TARGETdef;
|
||||
extern struct targetdef_s *QCA8074_TARGETdef;
|
||||
#endif
|
||||
extern struct targetdef_s *QCA8074_TARGETdef;
|
||||
|
||||
extern struct ce_reg_def *AR6002_CE_TARGETdef;
|
||||
extern struct ce_reg_def *AR6003_CE_TARGETdef;
|
||||
@@ -49,8 +49,8 @@ extern struct ce_reg_def *QCA9984_CE_TARGETdef;
|
||||
extern struct ce_reg_def *QCA9888_CE_TARGETdef;
|
||||
#ifdef ATH_AHB
|
||||
extern struct ce_reg_def *IPQ4019_CE_TARGETdef;
|
||||
#endif
|
||||
extern struct ce_reg_def *QCA8074_CE_TARGETdef;
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user