mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
feat(mt8196): turn on APU smpu protection
1. Turn on APU SMPU protection on MT8196. 2. Remove unused header file. Change-Id: I58637b8dda4bf68253bc2329580963a8bd9cca8b Signed-off-by: Karl Li <karl.li@mediatek.com>
This commit is contained in:
parent
823a57e11c
commit
5de1ace54a
3 changed files with 4 additions and 6 deletions
|
@ -1,14 +1,13 @@
|
|||
/*
|
||||
* Copyright (c) 2024, MediaTek Inc. All rights reserved.
|
||||
* Copyright (c) 2024-2025, MediaTek Inc. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#define ENABLE_SMPU_PROTECT (0)
|
||||
#define ENABLE_SMPU_PROTECT (1)
|
||||
|
||||
#if ENABLE_SMPU_PROTECT
|
||||
#include "emi.h"
|
||||
#include "mt_emi.h"
|
||||
#endif
|
||||
|
||||
#include <common/debug.h>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Copyright (c) 2024, MediaTek Inc. All rights reserved.
|
||||
# Copyright (c) 2024-2025, MediaTek Inc. All rights reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
@ -10,7 +10,6 @@ MODULE := apusys_${MTK_SOC}
|
|||
|
||||
ifeq (${CONFIG_MTK_APUSYS_EMI_SUPPORT}, y)
|
||||
PLAT_INCLUDES += -I${MTK_PLAT}/drivers/emi/common
|
||||
PLAT_INCLUDES += -I${MTK_PLAT}/drivers/emi/${MTK_SOC}
|
||||
endif
|
||||
|
||||
LOCAL_SRCS-y := ${LOCAL_DIR}/apusys_ammu.c
|
||||
|
|
|
@ -27,7 +27,7 @@ CTX_INCLUDE_AARCH32_REGS := 0
|
|||
|
||||
CONFIG_ARCH_ARM_V9 := y
|
||||
CONFIG_MTK_APUSYS_CE_SUPPORT := y
|
||||
CONFIG_MTK_APUSYS_EMI_SUPPORT := n
|
||||
CONFIG_MTK_APUSYS_EMI_SUPPORT := y
|
||||
CONFIG_MTK_APUSYS_LOGTOP_SUPPORT := y
|
||||
CONFIG_MTK_APUSYS_RV_APUMMU_SUPPORT := y
|
||||
CONFIG_MTK_APUSYS_RV_COREDUMP_WA_SUPPORT := y
|
||||
|
|
Loading…
Add table
Reference in a new issue