qcacmn: add HAL support for qca6390

hal_hw_srng table and register offsets array, some target specific
functions  are defined separately for each new target.
define the same for qca6290.

Change-Id: I08c1243bc50460fac776e28186acfa192fb1ff66
This commit is contained in:
Balamurugan Mahalingam
2018-07-05 16:50:09 +05:30
committed by nshrivas
parent f72cb1f1ff
commit 6cf4c27417
4 changed files with 1054 additions and 0 deletions

View File

@@ -37,6 +37,9 @@ void hal_qca6290_attach(struct hal_soc *hal);
#ifdef QCA_WIFI_QCA8074
void hal_qca8074_attach(struct hal_soc *hal);
#endif
#ifdef QCA_WIFI_QCA6390
void hal_qca6390_attach(struct hal_soc *hal);
#endif
/**
* hal_get_srng_ring_id() - get the ring id of a descriped ring
@@ -221,6 +224,12 @@ static void hal_target_based_configure(struct hal_soc *hal)
hal_qca6290_attach(hal);
break;
#endif
#ifdef QCA_WIFI_QCA6390
case TARGET_TYPE_QCA6390:
hal->use_register_windowing = true;
hal_qca6390_attach(hal);
break;
#endif
#ifdef QCA_WIFI_QCA8074
case TARGET_TYPE_QCA8074:
hal_qca8074_attach(hal);