14c4212e9SVincent Guittot# Configuration switches for SCP-firmware: 24c4212e9SVincent Guittot# 34c4212e9SVincent Guittot# CFG_SCMI_SCPFW Boolean switch, embeds SCP-firmware SCMI stack when enabled. 44c4212e9SVincent Guittot# CFG_SCMI_SCPFW_PRODUCT Name of the SCP-firmware product to build. 54c4212e9SVincent Guittot# CFG_SCP_FIRMWARE Directory path to SCP-firmware source tree 64c4212e9SVincent Guittot# CFG_SCPFW_LOG_LEVEL SCP-firmware log level 74c4212e9SVincent Guittot# CFG_SCPFW_MOD_x Boolean switch, embeds SCP-firmware module x when enabled 84c4212e9SVincent Guittot# CFG_SCPFW_NOTIFICATION Boolean switch, embeds SCMI notification when enabled. 94c4212e9SVincent Guittot# CFG_SCPFW_FAST_CHANNELS Boolean switch, embeds SCMI fast channel when enabled. 104c4212e9SVincent Guittot# 114c4212e9SVincent Guittot# Boolean y|n switches for module features 124c4212e9SVincent Guittot# CFG_SCPFW_CLOCK_TREE_MGMT 134c4212e9SVincent Guittot# CFG_SCPFW_SCMI_PERF_FAST_CHANNELS 144c4212e9SVincent Guittot# CFG_SCPFW_SCMI_SENSOR_EVENTS 154c4212e9SVincent Guittot# CFG_SCPFW_SCMI_SENSOR_V2 164c4212e9SVincent Guittot# CFG_SCPFW_SENSOR_TIMESTAMP 174c4212e9SVincent Guittot# CFG_SCPFW_SENSOR_MULTI_AXIS 184c4212e9SVincent Guittot# CFG_SCPFW_SENSOR_EXT_ATTRIBS 194c4212e9SVincent Guittot# CFG_SCPFW_SENSOR_SIGNED_VALUE 204c4212e9SVincent Guittot 21bf870398SVincent Guittotinclude core/lib/scmi-server/conf-optee-$(CFG_SCMI_SCPFW_PRODUCT).mk 224c4212e9SVincent Guittot 234c4212e9SVincent Guittot# SCP-fmw log level: 0 trace/verbose, 1 info, 2 warning, 3 error, 4 critical 244c4212e9SVincent Guittotifeq ($(CFG_TEE_CORE_LOG_LEVEL),0) 254c4212e9SVincent GuittotCFG_SCPFW_LOG_LEVEL ?= 3 264c4212e9SVincent Guittotelse ifeq ($(CFG_TEE_CORE_LOG_LEVEL),1) 274c4212e9SVincent GuittotCFG_SCPFW_LOG_LEVEL ?= 3 284c4212e9SVincent Guittotelse ifeq ($(CFG_TEE_CORE_LOG_LEVEL),2) 294c4212e9SVincent GuittotCFG_SCPFW_LOG_LEVEL ?= 1 304c4212e9SVincent Guittotelse 314c4212e9SVincent GuittotCFG_SCPFW_LOG_LEVEL ?= 0 324c4212e9SVincent Guittotendif 334c4212e9SVincent Guittot 344c4212e9SVincent GuittotCFG_SCPFW_MOD_CLOCK ?= n 35*acbc889cSEtienne CarriereCFG_SCPFW_MOD_DVFS ?= n 364c4212e9SVincent GuittotCFG_SCPFW_MOD_MOCK_CLOCK ?= n 374c4212e9SVincent GuittotCFG_SCPFW_MOD_MOCK_PPU ?= n 384c4212e9SVincent GuittotCFG_SCPFW_MOD_MOCK_PSU ?= n 39*acbc889cSEtienne CarriereCFG_SCPFW_MOD_MSG_SMT ?= n 404c4212e9SVincent GuittotCFG_SCPFW_MOD_OPTEE_CLOCK ?= n 414c4212e9SVincent GuittotCFG_SCPFW_MOD_OPTEE_CONSOLE ?= y 424c4212e9SVincent GuittotCFG_SCPFW_MOD_OPTEE_MBX ?= n 434c4212e9SVincent GuittotCFG_SCPFW_MOD_OPTEE_RESET ?= n 444c4212e9SVincent GuittotCFG_SCPFW_MOD_OPTEE_SMT ?= n 454c4212e9SVincent GuittotCFG_SCPFW_MOD_POWER_DOMAIN ?= n 464c4212e9SVincent GuittotCFG_SCPFW_MOD_PSU ?= n 474c4212e9SVincent GuittotCFG_SCPFW_MOD_REG_SENSOR ?= n 48*acbc889cSEtienne CarriereCFG_SCPFW_MOD_RESET_DOMAIN ?= n 494c4212e9SVincent GuittotCFG_SCPFW_MOD_SENSOR ?= n 504c4212e9SVincent GuittotCFG_SCPFW_MOD_SCMI ?= y 514c4212e9SVincent GuittotCFG_SCPFW_MOD_SCMI_APCORE ?= n 524c4212e9SVincent GuittotCFG_SCPFW_MOD_SCMI_CLOCK ?= n 534c4212e9SVincent GuittotCFG_SCPFW_MOD_SCMI_PERF ?= n 544c4212e9SVincent GuittotCFG_SCPFW_MOD_SCMI_POWER_DOMAIN ?= n 554c4212e9SVincent GuittotCFG_SCPFW_MOD_SCMI_RESET_DOMAIN ?= n 564c4212e9SVincent GuittotCFG_SCPFW_MOD_SCMI_SENSOR ?= n 574c4212e9SVincent GuittotCFG_SCPFW_MOD_SCMI_VOLTAGE_DOMAIN ?= n 584c4212e9SVincent GuittotCFG_SCPFW_MOD_SYSTEM_PLL ?= n 594c4212e9SVincent GuittotCFG_SCPFW_MOD_VOLTAGE_DOMAIN ?= n 604c4212e9SVincent Guittot 614c4212e9SVincent GuittotCFG_SCPFW_NOTIFICATION ?= n 624c4212e9SVincent GuittotCFG_SCPFW_FAST_CHANNELS ?= n 634c4212e9SVincent Guittot 644c4212e9SVincent GuittotCFG_SCPFW_CLOCK_TREE_MGMT ?= n 654c4212e9SVincent GuittotCFG_SCPFW_SCMI_PERF_FAST_CHANNELS ?= n 664c4212e9SVincent GuittotCFG_SCPFW_SCMI_SENSOR_EVENTS ?= n 674c4212e9SVincent GuittotCFG_SCPFW_SCMI_SENSOR_V2 ?= n 684c4212e9SVincent GuittotCFG_SCPFW_SENSOR_TIMESTAMP ?= n 694c4212e9SVincent GuittotCFG_SCPFW_SENSOR_MULTI_AXIS ?= n 704c4212e9SVincent GuittotCFG_SCPFW_SENSOR_EXT_ATTRIBS ?= n 714c4212e9SVincent GuittotCFG_SCPFW_SENSOR_SIGNED_VALUE ?= n 724c4212e9SVincent Guittot 734c4212e9SVincent Guittotifeq ($(CFG_SCPFW_MOD_OPTEE_SMT),y) 744c4212e9SVincent Guittot_CFG_SCMI_PTA_SMT_HEADER := y 754c4212e9SVincent Guittotendif 764c4212e9SVincent Guittotifeq ($(CFG_SCPFW_MOD_MSG_SMT),y) 774c4212e9SVincent Guittot_CFG_SCMI_PTA_MSG_HEADER := y 784c4212e9SVincent Guittotendif 79