qcacmn: Remove HK header dependencies for ipq6018 compilation

Add target specific HW header for ipq6018 compilation.
Remove the 8074 header dependencies for 6018 compilation.

Change-Id: I8e45e3e039a4596c6722538405dcd381918fa6b1
This commit is contained in:
Basamma Yakkanahalli 2019-04-27 05:24:00 +05:30 • committed by nshrivas
commit b85768e4e5
9 changed files with 14 additions and 12 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2011-2019 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@ -56,7 +56,7 @@ ol_txrx_soc_handle ol_txrx_soc_attach(void *scn_handle, struct ol_if_ops *dp_ol_
*
* Return: DP SOC handle on success, NULL on failure
*/
#ifdef QCA_WIFI_QCA8074
#if defined(QCA_WIFI_QCA8074) || defined(QCA_WIFI_QCA6018)
void *dp_soc_attach_wifi3(void *ctrl_psoc, void *hif_handle,
HTC_HANDLE htc_handle, qdf_device_t qdf_osdev,
struct ol_if_ops *ol_ops, uint16_t device_id);

View file

@ -10500,7 +10500,7 @@ static void dp_soc_set_txrx_ring_map(struct dp_soc *soc)
}
}
#ifdef QCA_WIFI_QCA8074
#if defined(QCA_WIFI_QCA8074) || defined(QCA_WIFI_QCA6018)
#ifndef QCA_MEM_ATTACH_ON_WIFI3

View file

@ -1695,7 +1695,7 @@ static void dp_reo_desc_free(struct dp_soc *soc, void *cb_ctxt,
qdf_mem_free(freedesc);
}
#if defined(QCA_WIFI_QCA8074) && defined(BUILD_X86)
#if defined(QCA_WIFI_QCA8074_VP) && defined(BUILD_X86)
/* Hawkeye emulation requires bus address to be >= 0x50000000 */
static inline int dp_reo_desc_addr_chk(qdf_dma_addr_t dma_addr)
{