Commit 2225378d authored by Anilkumar Kolli's avatar Anilkumar Kolli Committed by Kalle Valo

ath10k: remove unused member in ath10k_hw_regs

rtc_state_cold_reset_mask is unused in ath10k_hw_regs.
instead fixed delays are used.
Signed-off-by: default avatarAnilkumar Kolli <akolli@qti.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent d0eeafad
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "hw.h" #include "hw.h"
const struct ath10k_hw_regs qca988x_regs = { const struct ath10k_hw_regs qca988x_regs = {
.rtc_state_cold_reset_mask = 0x00000400,
.rtc_soc_base_address = 0x00004000, .rtc_soc_base_address = 0x00004000,
.rtc_wmac_base_address = 0x00005000, .rtc_wmac_base_address = 0x00005000,
.soc_core_base_address = 0x00009000, .soc_core_base_address = 0x00009000,
...@@ -46,7 +45,6 @@ const struct ath10k_hw_regs qca988x_regs = { ...@@ -46,7 +45,6 @@ const struct ath10k_hw_regs qca988x_regs = {
}; };
const struct ath10k_hw_regs qca6174_regs = { const struct ath10k_hw_regs qca6174_regs = {
.rtc_state_cold_reset_mask = 0x00002000,
.rtc_soc_base_address = 0x00000800, .rtc_soc_base_address = 0x00000800,
.rtc_wmac_base_address = 0x00001000, .rtc_wmac_base_address = 0x00001000,
.soc_core_base_address = 0x0003a000, .soc_core_base_address = 0x0003a000,
...@@ -73,7 +71,6 @@ const struct ath10k_hw_regs qca6174_regs = { ...@@ -73,7 +71,6 @@ const struct ath10k_hw_regs qca6174_regs = {
}; };
const struct ath10k_hw_regs qca99x0_regs = { const struct ath10k_hw_regs qca99x0_regs = {
.rtc_state_cold_reset_mask = 0x00000400,
.rtc_soc_base_address = 0x00080000, .rtc_soc_base_address = 0x00080000,
.rtc_wmac_base_address = 0x00000000, .rtc_wmac_base_address = 0x00000000,
.soc_core_base_address = 0x00082000, .soc_core_base_address = 0x00082000,
......
...@@ -217,7 +217,6 @@ enum ath10k_hw_rev { ...@@ -217,7 +217,6 @@ enum ath10k_hw_rev {
}; };
struct ath10k_hw_regs { struct ath10k_hw_regs {
u32 rtc_state_cold_reset_mask;
u32 rtc_soc_base_address; u32 rtc_soc_base_address;
u32 rtc_wmac_base_address; u32 rtc_wmac_base_address;
u32 soc_core_base_address; u32 soc_core_base_address;
...@@ -516,7 +515,6 @@ enum ath10k_hw_cc_wraparound_type { ...@@ -516,7 +515,6 @@ enum ath10k_hw_cc_wraparound_type {
/* as of IP3.7.1 */ /* as of IP3.7.1 */
#define RTC_STATE_V_ON ar->hw_values->rtc_state_val_on #define RTC_STATE_V_ON ar->hw_values->rtc_state_val_on
#define RTC_STATE_COLD_RESET_MASK ar->regs->rtc_state_cold_reset_mask
#define RTC_STATE_V_LSB 0 #define RTC_STATE_V_LSB 0
#define RTC_STATE_V_MASK 0x00000007 #define RTC_STATE_V_MASK 0x00000007
#define RTC_STATE_ADDRESS 0x0000 #define RTC_STATE_ADDRESS 0x0000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment