mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00

Add topology module to support CPU power state control. Signed-off-by: Kai Liang <kai.liang@mediatek.com> Change-Id: I0cc1e5a426762b1b29bff1e940e077643da02e5e
19 lines
489 B
Makefile
19 lines
489 B
Makefile
#
|
|
# Copyright (c) 2025, MediaTek Inc. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
LOCAL_DIR := $(call GET_LOCAL_DIR)
|
|
|
|
MODULE := cpu_pm
|
|
|
|
SUB_RULES-${CONFIG_MTK_CPU_PM_SUPPORT} := $(LOCAL_DIR)/cpcv${CONFIG_MTK_CPU_PM_ARCH}
|
|
|
|
ifneq ($(CPU_PWR_TOPOLOGY),)
|
|
SUB_RULES-${CONFIG_MTK_CPU_PM_SUPPORT} += $(LOCAL_DIR)/topology/$(CPU_PWR_TOPOLOGY)
|
|
else
|
|
SUB_RULES-${CONFIG_MTK_CPU_PM_SUPPORT} += $(LOCAL_DIR)/topology/default
|
|
endif
|
|
|
|
$(eval $(call INCLUDE_MAKEFILE,$(SUB_RULES-y)))
|