From ead26026ff9f877b65011de55e3b3874e14aa137 Mon Sep 17 00:00:00 2001 From: Yidi Lin Date: Thu, 6 Feb 2025 13:38:44 +0800 Subject: [PATCH] feat(mediatek): update mtk_sip_def.h Update missing SiP SCM ID definitions. Those definitons are required when linking to the proprietary library. Change-Id: I6b912cee9bcceac774ff2228a1e335073a1d5ea7 Signed-off-by: Yidi Lin --- plat/mediatek/include/mtk_sip_def.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plat/mediatek/include/mtk_sip_def.h b/plat/mediatek/include/mtk_sip_def.h index 85b723086..2e0b50179 100644 --- a/plat/mediatek/include/mtk_sip_def.h +++ b/plat/mediatek/include/mtk_sip_def.h @@ -12,6 +12,7 @@ _func(MTK_SIP_KERNEL_TIME_SYNC, 0x202) \ _func(MTK_SIP_KERNEL_DFD, 0x205) \ _func(MTK_SIP_KERNEL_MSDC, 0x273) \ + _func(MTK_SIP_KERNEL_UFS_CONTROL, 0x276) \ _func(MTK_SIP_VCORE_CONTROL, 0x506) \ _func(MTK_SIP_MTK_LPM_CONTROL, 0x507) \ _func(MTK_SIP_EMIDBG_CONTROL, 0x50B) \ @@ -20,14 +21,17 @@ _func(MTK_SIP_APUSYS_CONTROL, 0x51E) \ _func(MTK_SIP_DP_CONTROL, 0x523) \ _func(MTK_SIP_KERNEL_GIC_OP, 0x526) \ - _func(MTK_SIP_KERNEL_VCP_CONTROL, 0x52C) + _func(MTK_SIP_KERNEL_VCP_CONTROL, 0x52C) \ + _func(MTK_SIP_KERNEL_SLBC_CONTROL, 0x53E) #define MTK_SIP_SMC_FROM_S_EL1_TABLE(_func) \ _func(MTK_SIP_TEE_MPU_PERM_SET, 0x031) \ - _func(MTK_SIP_TEE_EMI_MPU_CONTROL, 0x048) + _func(MTK_SIP_TEE_EMI_MPU_CONTROL, 0x048) \ + _func(MTK_SIP_TEE_SMMU_CONTROL, 0x04D) #define MTK_SIP_SMC_FROM_BL33_TABLE(_func) \ _func(MTK_SIP_KERNEL_BOOT, 0x115) \ + _func(MTK_SIP_BL_UFS_CONTROL, 0x40D) \ _func(MTK_SIP_BL_LPM_CONTROL, 0x410) \ _func(MTK_SIP_BL_EMIMPU_CONTROL, 0x415)