qcacmn: define SHADOW_REGISTER macro for QCN9000
Define shadow registers for QCN9000. Change-Id: I47fc7057838bf6491dc292660a69b47a655fe0e9
This commit is contained in:

committed by
nshrivas

parent
86eba5902e
commit
4120f06921
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2020 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
|
||||
@@ -32,7 +32,7 @@
|
||||
#define SHADOW_REGISTER_END_ADDRESS_OFFSET \
|
||||
((SHADOW_REGISTER_START_ADDRESS_OFFSET) + (4 * (MAX_SHADOW_REGISTERS)))
|
||||
#define SHADOW_REGISTER(x) ((SHADOW_REGISTER_START_ADDRESS_OFFSET) + (4 * (x)))
|
||||
#elif defined(QCA_WIFI_QCA6290)
|
||||
#elif defined(QCA_WIFI_QCA6290) || defined(QCA_WIFI_QCN9000)
|
||||
#define SHADOW_REGISTER_START_ADDRESS_OFFSET 0x00003024
|
||||
#define SHADOW_REGISTER_END_ADDRESS_OFFSET \
|
||||
((SHADOW_REGISTER_START_ADDRESS_OFFSET) + (4 * (MAX_SHADOW_REGISTERS)))
|
||||
|
Reference in New Issue
Block a user