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:

committed by
nshrivas

parent
ee42a3202b
commit
9347b8dbd0
@@ -38,7 +38,11 @@
|
||||
#include "rx_reo_queue_ext.h"
|
||||
|
||||
#define MAX_UNWINDOWED_ADDRESS 0x80000
|
||||
#ifdef TARGET_TYPE_QCA6390
|
||||
#define WINDOW_ENABLE_BIT 0x40000000
|
||||
#else
|
||||
#define WINDOW_ENABLE_BIT 0x80000000
|
||||
#endif
|
||||
#define WINDOW_REG_ADDRESS 0x310C
|
||||
#define WINDOW_SHIFT 19
|
||||
#define WINDOW_VALUE_MASK 0x3F
|
||||
|
Reference in New Issue
Block a user