qcacmn: Select window mask based on target

For QCA6390 PCI address space is reduced to 1MB.
Change bitmask to map it to appropriate range.

Change-Id: I70385df91855b7e7ddbedf7f0c6bf6e364b7d78c
CRs-Fixed: 2259194
This commit is contained in:
Venkata Sharath Chandra Manchala
2018-06-07 15:26:11 -07:00
committed by nshrivas
parent ee42a3202b
commit 9347b8dbd0

View File

@@ -38,7 +38,11 @@
#include "rx_reo_queue_ext.h" #include "rx_reo_queue_ext.h"
#define MAX_UNWINDOWED_ADDRESS 0x80000 #define MAX_UNWINDOWED_ADDRESS 0x80000
#ifdef TARGET_TYPE_QCA6390
#define WINDOW_ENABLE_BIT 0x40000000
#else
#define WINDOW_ENABLE_BIT 0x80000000 #define WINDOW_ENABLE_BIT 0x80000000
#endif
#define WINDOW_REG_ADDRESS 0x310C #define WINDOW_REG_ADDRESS 0x310C
#define WINDOW_SHIFT 19 #define WINDOW_SHIFT 19
#define WINDOW_VALUE_MASK 0x3F #define WINDOW_VALUE_MASK 0x3F