1*4c4212e9SVincent Guittot# Configuration switches for SCP-firmware: 2*4c4212e9SVincent Guittot# 3*4c4212e9SVincent Guittot# CFG_SCMI_SCPFW Boolean switch, embeds SCP-firmware SCMI stack when enabled. 4*4c4212e9SVincent Guittot# CFG_SCMI_SCPFW_PRODUCT Name of the SCP-firmware product to build. 5*4c4212e9SVincent Guittot# CFG_SCP_FIRMWARE Directory path to SCP-firmware source tree 6*4c4212e9SVincent Guittot# CFG_SCPFW_LOG_LEVEL SCP-firmware log level 7*4c4212e9SVincent Guittot# CFG_SCPFW_MOD_x Boolean switch, embeds SCP-firmware module x when enabled 8*4c4212e9SVincent Guittot# CFG_SCPFW_NOTIFICATION Boolean switch, embeds SCMI notification when enabled. 9*4c4212e9SVincent Guittot# CFG_SCPFW_FAST_CHANNELS Boolean switch, embeds SCMI fast channel when enabled. 10*4c4212e9SVincent Guittot# 11*4c4212e9SVincent Guittot# Boolean y|n switches for module features 12*4c4212e9SVincent Guittot# CFG_SCPFW_CLOCK_TREE_MGMT 13*4c4212e9SVincent Guittot# CFG_SCPFW_SCMI_PERF_FAST_CHANNELS 14*4c4212e9SVincent Guittot# CFG_SCPFW_SCMI_SENSOR_EVENTS 15*4c4212e9SVincent Guittot# CFG_SCPFW_SCMI_SENSOR_V2 16*4c4212e9SVincent Guittot# CFG_SCPFW_SENSOR_TIMESTAMP 17*4c4212e9SVincent Guittot# CFG_SCPFW_SENSOR_MULTI_AXIS 18*4c4212e9SVincent Guittot# CFG_SCPFW_SENSOR_EXT_ATTRIBS 19*4c4212e9SVincent Guittot# CFG_SCPFW_SENSOR_SIGNED_VALUE 20*4c4212e9SVincent Guittot 21*4c4212e9SVincent Guittotinclude core/lib/scmi-server/conf-$(CFG_SCMI_SCPFW_PRODUCT).mk 22*4c4212e9SVincent Guittot 23*4c4212e9SVincent Guittot# SCP-fmw log level: 0 trace/verbose, 1 info, 2 warning, 3 error, 4 critical 24*4c4212e9SVincent Guittotifeq ($(CFG_TEE_CORE_LOG_LEVEL),0) 25*4c4212e9SVincent GuittotCFG_SCPFW_LOG_LEVEL ?= 3 26*4c4212e9SVincent Guittotelse ifeq ($(CFG_TEE_CORE_LOG_LEVEL),1) 27*4c4212e9SVincent GuittotCFG_SCPFW_LOG_LEVEL ?= 3 28*4c4212e9SVincent Guittotelse ifeq ($(CFG_TEE_CORE_LOG_LEVEL),2) 29*4c4212e9SVincent GuittotCFG_SCPFW_LOG_LEVEL ?= 1 30*4c4212e9SVincent Guittotelse 31*4c4212e9SVincent GuittotCFG_SCPFW_LOG_LEVEL ?= 0 32*4c4212e9SVincent Guittotendif 33*4c4212e9SVincent Guittot 34*4c4212e9SVincent GuittotCFG_SCPFW_MOD_DVFS ?= n 35*4c4212e9SVincent GuittotCFG_SCPFW_MOD_RESET_DOMAIN ?= n 36*4c4212e9SVincent GuittotCFG_SCPFW_MOD_CLOCK ?= n 37*4c4212e9SVincent GuittotCFG_SCPFW_MOD_MSG_SMT ?= n 38*4c4212e9SVincent GuittotCFG_SCPFW_MOD_MOCK_CLOCK ?= n 39*4c4212e9SVincent GuittotCFG_SCPFW_MOD_MOCK_PPU ?= n 40*4c4212e9SVincent GuittotCFG_SCPFW_MOD_MOCK_PSU ?= n 41*4c4212e9SVincent GuittotCFG_SCPFW_MOD_OPTEE_CLOCK ?= n 42*4c4212e9SVincent GuittotCFG_SCPFW_MOD_OPTEE_CONSOLE ?= y 43*4c4212e9SVincent GuittotCFG_SCPFW_MOD_OPTEE_MBX ?= n 44*4c4212e9SVincent GuittotCFG_SCPFW_MOD_OPTEE_RESET ?= n 45*4c4212e9SVincent GuittotCFG_SCPFW_MOD_OPTEE_SMT ?= n 46*4c4212e9SVincent GuittotCFG_SCPFW_MOD_POWER_DOMAIN ?= n 47*4c4212e9SVincent GuittotCFG_SCPFW_MOD_PSU ?= n 48*4c4212e9SVincent GuittotCFG_SCPFW_MOD_REG_SENSOR ?= n 49*4c4212e9SVincent GuittotCFG_SCPFW_MOD_SENSOR ?= n 50*4c4212e9SVincent GuittotCFG_SCPFW_MOD_SCMI ?= y 51*4c4212e9SVincent GuittotCFG_SCPFW_MOD_SCMI_APCORE ?= n 52*4c4212e9SVincent GuittotCFG_SCPFW_MOD_SCMI_CLOCK ?= n 53*4c4212e9SVincent GuittotCFG_SCPFW_MOD_SCMI_PERF ?= n 54*4c4212e9SVincent GuittotCFG_SCPFW_MOD_SCMI_POWER_DOMAIN ?= n 55*4c4212e9SVincent GuittotCFG_SCPFW_MOD_SCMI_RESET_DOMAIN ?= n 56*4c4212e9SVincent GuittotCFG_SCPFW_MOD_SCMI_SENSOR ?= n 57*4c4212e9SVincent GuittotCFG_SCPFW_MOD_SCMI_VOLTAGE_DOMAIN ?= n 58*4c4212e9SVincent GuittotCFG_SCPFW_MOD_SYSTEM_PLL ?= n 59*4c4212e9SVincent GuittotCFG_SCPFW_MOD_VOLTAGE_DOMAIN ?= n 60*4c4212e9SVincent Guittot 61*4c4212e9SVincent GuittotCFG_SCPFW_NOTIFICATION ?= n 62*4c4212e9SVincent GuittotCFG_SCPFW_FAST_CHANNELS ?= n 63*4c4212e9SVincent Guittot 64*4c4212e9SVincent GuittotCFG_SCPFW_CLOCK_TREE_MGMT ?= n 65*4c4212e9SVincent GuittotCFG_SCPFW_SCMI_PERF_FAST_CHANNELS ?= n 66*4c4212e9SVincent GuittotCFG_SCPFW_SCMI_SENSOR_EVENTS ?= n 67*4c4212e9SVincent GuittotCFG_SCPFW_SCMI_SENSOR_V2 ?= n 68*4c4212e9SVincent GuittotCFG_SCPFW_SENSOR_TIMESTAMP ?= n 69*4c4212e9SVincent GuittotCFG_SCPFW_SENSOR_MULTI_AXIS ?= n 70*4c4212e9SVincent GuittotCFG_SCPFW_SENSOR_EXT_ATTRIBS ?= n 71*4c4212e9SVincent GuittotCFG_SCPFW_SENSOR_SIGNED_VALUE ?= n 72*4c4212e9SVincent Guittot 73*4c4212e9SVincent Guittotifeq ($(CFG_SCPFW_MOD_OPTEE_SMT),y) 74*4c4212e9SVincent Guittot_CFG_SCMI_PTA_SMT_HEADER := y 75*4c4212e9SVincent Guittotendif 76*4c4212e9SVincent Guittotifeq ($(CFG_SCPFW_MOD_MSG_SMT),y) 77*4c4212e9SVincent Guittot_CFG_SCMI_PTA_MSG_HEADER := y 78*4c4212e9SVincent Guittotendif 79