qcacmn: Initial changes for ipq9574 target compilation

Added device ID and target type checks for ipq9574 traget
compilation.

Change-Id: Ie337d1256f828987ed469a609c8fb74de2180dca
This commit is contained in:
Basamma Yakkanahalli
2021-06-13 15:32:44 +05:30
committed by Madan Koyyalamudi
parent 1db04afdb1
commit 00bcc8cbd3
20 changed files with 179 additions and 13 deletions

View File

@@ -29,7 +29,8 @@ void hal_qca6290_attach(struct hal_soc *hal);
#ifdef QCA_WIFI_QCA8074
void hal_qca8074_attach(struct hal_soc *hal);
#endif
#if defined(QCA_WIFI_QCA8074V2) || defined(QCA_WIFI_QCA6018)
#if defined(QCA_WIFI_QCA8074V2) || defined(QCA_WIFI_QCA6018) || \
defined(QCA_WIFI_QCA9574)
void hal_qca8074v2_attach(struct hal_soc *hal);
#endif
#ifdef QCA_WIFI_QCA6390
@@ -417,6 +418,12 @@ static void hal_target_based_configure(struct hal_soc *hal)
break;
#endif
#if defined(QCA_WIFI_QCA9574)
case TARGET_TYPE_QCA9574:
hal_qca8074v2_attach(hal);
break;
#endif
#if defined(QCA_WIFI_QCN6122)
case TARGET_TYPE_QCN6122:
hal->use_register_windowing = true;