summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8186/include
diff options
context:
space:
mode:
authorNina Wu <nina-cm.wu@mediatek.corp-partner.google.com>2023-09-05 16:47:45 +0800
committerJakub Czapiga <jacz@semihalf.com>2023-09-22 12:34:29 +0000
commit6eb5db39d04d137915232a0b0eba9630244b205c (patch)
treed78a584c627409abdb49e2833fbfccf33abd4d3a /src/soc/mediatek/mt8186/include
parentc6d41ecbed60564fbee0d79677853ac8416d8004 (diff)
soc/mediatek: Move common devapc definitions to common/
Move following definitions to common/ 1) the definition of the bit fields for domain remap 2) the definition of the structure for the permission of all domains Change-Id: Iac84ebc908ae384a6280388af4120f6349a32ed4 Signed-off-by: Nina Wu <nina-cm.wu@mediatek.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77860 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8186/include')
-rw-r--r--src/soc/mediatek/mt8186/include/soc/devapc.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/soc/mediatek/mt8186/include/soc/devapc.h b/src/soc/mediatek/mt8186/include/soc/devapc.h
index eab8cb2cbf..c1d2c7223c 100644
--- a/src/soc/mediatek/mt8186/include/soc/devapc.h
+++ b/src/soc/mediatek/mt8186/include/soc/devapc.h
@@ -25,18 +25,6 @@ enum devapc_ao_offset {
/******************************************************************************
* STRUCTURE DEFINITION
******************************************************************************/
-struct apc_infra_peri_dom_16 {
- unsigned char d_permission[16];
-};
-
-struct apc_infra_peri_dom_8 {
- unsigned char d_permission[8];
-};
-
-struct apc_infra_peri_dom_4 {
- unsigned char d_permission[4];
-};
-
enum devapc_sys_dom_num {
DOM_NUM_INFRA_AO_SYS0 = 8,
DOM_NUM_MM_AO_SYS0 = 4,
@@ -67,12 +55,4 @@ DEFINE_BITFIELD(SPM_DOM, 11, 8)
DEFINE_BITFIELD(SCP_DOM, 3, 0)
DEFINE_BITFIELD(ADSP_DOM, 3, 0)
-/* Domain Remap */
-DEFINE_BITFIELD(TWO_BIT_DOM_REMAP_0, 1, 0)
-DEFINE_BITFIELD(TWO_BIT_DOM_REMAP_1, 3, 2)
-DEFINE_BITFIELD(TWO_BIT_DOM_REMAP_2, 5, 4)
-DEFINE_BITFIELD(TWO_BIT_DOM_REMAP_3, 7, 6)
-DEFINE_BITFIELD(TWO_BIT_DOM_REMAP_4, 9, 8)
-DEFINE_BITFIELD(TWO_BIT_DOM_REMAP_5, 11, 10)
-
#endif