1# Configuration switches for SCP-firmware: 2# 3# CFG_SCMI_SCPFW Boolean switch, embeds SCP-firmware SCMI stack when enabled. 4# CFG_SCMI_SCPFW_PRODUCT Name of the SCP-firmware product to build. 5# CFG_SCP_FIRMWARE Directory path to SCP-firmware source tree 6# CFG_SCPFW_LOG_LEVEL SCP-firmware log level 7# CFG_SCPFW_MOD_x Boolean switch, embeds SCP-firmware module x when enabled 8# CFG_SCPFW_NOTIFICATION Boolean switch, embeds SCMI notification when enabled. 9# CFG_SCPFW_FAST_CHANNELS Boolean switch, embeds SCMI fast channel when enabled. 10# 11# Boolean y|n switches for module features 12# CFG_SCPFW_CLOCK_TREE_MGMT 13# CFG_SCPFW_SCMI_PERF_FAST_CHANNELS 14# CFG_SCPFW_SCMI_SENSOR_EVENTS 15# CFG_SCPFW_SCMI_SENSOR_V2 16# CFG_SCPFW_SENSOR_TIMESTAMP 17# CFG_SCPFW_SENSOR_MULTI_AXIS 18# CFG_SCPFW_SENSOR_EXT_ATTRIBS 19# CFG_SCPFW_SENSOR_SIGNED_VALUE 20 21include core/lib/scmi-server/conf-$(CFG_SCMI_SCPFW_PRODUCT).mk 22 23# SCP-fmw log level: 0 trace/verbose, 1 info, 2 warning, 3 error, 4 critical 24ifeq ($(CFG_TEE_CORE_LOG_LEVEL),0) 25CFG_SCPFW_LOG_LEVEL ?= 3 26else ifeq ($(CFG_TEE_CORE_LOG_LEVEL),1) 27CFG_SCPFW_LOG_LEVEL ?= 3 28else ifeq ($(CFG_TEE_CORE_LOG_LEVEL),2) 29CFG_SCPFW_LOG_LEVEL ?= 1 30else 31CFG_SCPFW_LOG_LEVEL ?= 0 32endif 33 34CFG_SCPFW_MOD_DVFS ?= n 35CFG_SCPFW_MOD_RESET_DOMAIN ?= n 36CFG_SCPFW_MOD_CLOCK ?= n 37CFG_SCPFW_MOD_MSG_SMT ?= n 38CFG_SCPFW_MOD_MOCK_CLOCK ?= n 39CFG_SCPFW_MOD_MOCK_PPU ?= n 40CFG_SCPFW_MOD_MOCK_PSU ?= n 41CFG_SCPFW_MOD_OPTEE_CLOCK ?= n 42CFG_SCPFW_MOD_OPTEE_CONSOLE ?= y 43CFG_SCPFW_MOD_OPTEE_MBX ?= n 44CFG_SCPFW_MOD_OPTEE_RESET ?= n 45CFG_SCPFW_MOD_OPTEE_SMT ?= n 46CFG_SCPFW_MOD_POWER_DOMAIN ?= n 47CFG_SCPFW_MOD_PSU ?= n 48CFG_SCPFW_MOD_REG_SENSOR ?= n 49CFG_SCPFW_MOD_SENSOR ?= n 50CFG_SCPFW_MOD_SCMI ?= y 51CFG_SCPFW_MOD_SCMI_APCORE ?= n 52CFG_SCPFW_MOD_SCMI_CLOCK ?= n 53CFG_SCPFW_MOD_SCMI_PERF ?= n 54CFG_SCPFW_MOD_SCMI_POWER_DOMAIN ?= n 55CFG_SCPFW_MOD_SCMI_RESET_DOMAIN ?= n 56CFG_SCPFW_MOD_SCMI_SENSOR ?= n 57CFG_SCPFW_MOD_SCMI_VOLTAGE_DOMAIN ?= n 58CFG_SCPFW_MOD_SYSTEM_PLL ?= n 59CFG_SCPFW_MOD_VOLTAGE_DOMAIN ?= n 60 61CFG_SCPFW_NOTIFICATION ?= n 62CFG_SCPFW_FAST_CHANNELS ?= n 63 64CFG_SCPFW_CLOCK_TREE_MGMT ?= n 65CFG_SCPFW_SCMI_PERF_FAST_CHANNELS ?= n 66CFG_SCPFW_SCMI_SENSOR_EVENTS ?= n 67CFG_SCPFW_SCMI_SENSOR_V2 ?= n 68CFG_SCPFW_SENSOR_TIMESTAMP ?= n 69CFG_SCPFW_SENSOR_MULTI_AXIS ?= n 70CFG_SCPFW_SENSOR_EXT_ATTRIBS ?= n 71CFG_SCPFW_SENSOR_SIGNED_VALUE ?= n 72 73ifeq ($(CFG_SCPFW_MOD_OPTEE_SMT),y) 74_CFG_SCMI_PTA_SMT_HEADER := y 75endif 76ifeq ($(CFG_SCPFW_MOD_MSG_SMT),y) 77_CFG_SCMI_PTA_MSG_HEADER := y 78endif 79