blob: 42f9063c4ae40afc8d5203d3c44fdb1b6842f410 [file] [log] [blame]
xjb04a4022021-11-25 15:01:52 +08001################################################################################
2# Copyright (C) 2019 MediaTek Inc.
3#
4# This program is free software: you can redistribute it and/or modify
5# it under the terms of the GNU General Public License version 2 as
6# published by the Free Software Foundation.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12################################################################################
13
14################################################################################
15# Include Path
16################################################################################
17MET_VCOREDVFS_INC := $(srctree)/drivers/misc/mediatek/base/power/include/vcorefs_v3
18MET_PTPOD_INC := $(srctree)/drivers/misc/mediatek/base/power/cpufreq_v1/src/mach/$(MTK_PLATFORM)/
19
20################################################################################
21# Feature Spec
22# CPUPMU_VERSION: V8_0/V8_2
23# EMI_SEDA_VERSION: SEDA2/SEDA3/SEDA3_5
24# SPMTWAM_VERSION: ap/sspm
25# SPMTWAM_IDLE_SIGNAL_SUPPORT: single/mutilple
26################################################################################
27CPUPMU_VERSION := V8_2
28EMI_SEDA_VERSION := SEDA3_5
29SPMTWAM_VERSION := none
30SPMTWAM_IDLE_SIGNAL_SUPPORT := none
31GPU_STALL_CNT_TYPE := single
32SSPM_VERSION := v2
33DYNAMIC_ALLOC_ODM_BUF_SIZE := 0x800000
34EMI_LOWEFF_SUPPORT := y
35
36################################################################################
37# Feature On/Off
38################################################################################
39FEATURE_GPU := n
40FEATURE_SPMTWAM := n
41FEATURE_EVENT_POWER := n
42FEATURE_ONDIEMET := n
43
44
45################################################################################
46# TINYSYS On/Off
47################################################################################
48TINYSYS_VERSION := v1
49FEATURE_TINYSYS := y
50FEATURE_SSPM_NUM := 1
51FEATURE_CPU_EB_NUM := 0
52FEATURE_SCP_NUM := 0
53ifeq ($(FEATURE_TINYSYS), y)
54 FEATURE_ONDIEMET := n
55endif