cnss2: Dynamically use shadow regs for time_sync
For kiwi target the current code is using shadow_reg indexes 0,1. Change the logic to use next two shadow registers of what is used by the host. Change-Id: Ice95be0f2106078b8f799ca1182d1d8702b564c6 CRs-Fixed: 3218660
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
fc97f926b0
commit
2c3d91eed9
@@ -1,7 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2019-2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _CNSS_REG_H
|
||||
@@ -52,6 +52,7 @@
|
||||
#define CE_REG_INTERVAL 0x2000
|
||||
|
||||
#define SHADOW_REG_COUNT 36
|
||||
#define SHADOW_REG_LEN_BYTES 4
|
||||
#define PCIE_SHADOW_REG_VALUE_0 0x8FC
|
||||
#define PCIE_SHADOW_REG_VALUE_1 0x900
|
||||
#define PCIE_SHADOW_REG_VALUE_34 0x984
|
||||
|
Reference in New Issue
Block a user