summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/mediatek/mt8188/devapc.c6
-rw-r--r--src/soc/mediatek/mt8188/include/soc/devapc.h4
2 files changed, 0 insertions, 10 deletions
diff --git a/src/soc/mediatek/mt8188/devapc.c b/src/soc/mediatek/mt8188/devapc.c
index 260b9ffd9b..1fe3cf8626 100644
--- a/src/soc/mediatek/mt8188/devapc.c
+++ b/src/soc/mediatek/mt8188/devapc.c
@@ -1550,12 +1550,6 @@ static void dump_peri_par_ao_apc(uintptr_t base)
static void infra_init(uintptr_t base)
{
- /* Side band */
- SET32_BITFIELDS(getreg(base, MAS_SEC_0), MCUPM_SEC, SECURE_TRANS);
-
- /* Master domain */
- SET32_BITFIELDS(getreg(base, MAS_DOM_0), SCP_SSPM_DOM, DOMAIN_2, MCUPM_DOM, DOMAIN_2);
-
/* Default APC setting */
set_infra_ao_apc(base);
}
diff --git a/src/soc/mediatek/mt8188/include/soc/devapc.h b/src/soc/mediatek/mt8188/include/soc/devapc.h
index d742c220ae..e0b0f00ccf 100644
--- a/src/soc/mediatek/mt8188/include/soc/devapc.h
+++ b/src/soc/mediatek/mt8188/include/soc/devapc.h
@@ -17,10 +17,6 @@ enum devapc_ao_offset {
AO_APC_CON = 0x00F00,
};
-DEFINE_BIT(MCUPM_SEC, 1)
-DEFINE_BITFIELD(MCUPM_DOM, 11, 8)
-DEFINE_BITFIELD(SCP_SSPM_DOM, 19, 16)
-
/******************************************************************************
* STRUCTURE DEFINITION
******************************************************************************/