mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-15 17:14:21 +00:00

Add MediaTek SMMU power driver. This driver tracks the reference counter for power domain access on SMMU hardware, including Multimedia SMMU and APU SMMU. The PM get/put commands may come from linux(EL1) and hypervisor(EL2). Change-Id: I60f83c4e3d87059b0549b2ed8c68367be3bfbbc5 Signed-off-by: Yong Wu <yong.wu@mediatek.com>
17 lines
318 B
Makefile
17 lines
318 B
Makefile
#
|
|
# Copyright (c) 2025, MediaTek Inc. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
LOCAL_DIR := $(call GET_LOCAL_DIR)
|
|
|
|
MODULE := smmu
|
|
|
|
LOCAL_SRCS-y := ${LOCAL_DIR}/smmu.c
|
|
|
|
ifeq ($(MTK_SOC), mt8196)
|
|
CFLAGS += -DMTK_SMMU_MT8196
|
|
endif
|
|
|
|
$(eval $(call MAKE_MODULE,$(MODULE),$(LOCAL_SRCS-y),$(MTK_BL)))
|