qcacmn: use distinct I/O remap to access CE register for ipq5018
In ipq5018 CE registers(0x08400000) kept outside WCSS(0x0C000000) block. As both regions are more than 60MB apart, not feasible to allocate single resource which include both. So, using a separate I/O region to access CE registers. Change-Id: I67bb6d5ac82a1c0ed1d3e13f7776f9d69ee19956
Šī revīzija ir iekļauta:

revīziju iesūtīja
nshrivas

vecāks
07df8d3deb
revīzija
c0b1d0ebf0
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2018 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
|
||||
@@ -375,6 +375,9 @@ struct targetdef_s *MY_TARGET_DEF = &my_target_def;
|
||||
#if !defined(HOST_IE_REG3_CE_LSB)
|
||||
#define HOST_IE_REG3_CE_LSB 0
|
||||
#endif
|
||||
#if !defined(HOST_CE_ADDRESS)
|
||||
#define HOST_CE_ADDRESS ATH_UNSUPPORTED_REG_OFFSET
|
||||
#endif
|
||||
|
||||
static struct ce_reg_def my_ce_reg_def = {
|
||||
/* copy_engine.c */
|
||||
@@ -460,7 +463,8 @@ static struct ce_reg_def my_ce_reg_def = {
|
||||
.d_A_WIFI_APB_3_A_WCMN_APPS_CE_INTR_ENABLES
|
||||
= A_WIFI_APB_3_A_WCMN_APPS_CE_INTR_ENABLES,
|
||||
.d_A_WIFI_APB_3_A_WCMN_APPS_CE_INTR_STATUS
|
||||
= A_WIFI_APB_3_A_WCMN_APPS_CE_INTR_STATUS
|
||||
= A_WIFI_APB_3_A_WCMN_APPS_CE_INTR_STATUS,
|
||||
.d_HOST_CE_ADDRESS = HOST_CE_ADDRESS
|
||||
};
|
||||
|
||||
struct ce_reg_def *MY_CEREG_DEF = &my_ce_reg_def;
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user