mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
firmware: scmi: add configs to select the supported agents
Add two configs CONFIG_SCMI_AGENT_MAILBOX and CONFIG_SCMI_AGENT_SMCCC to select the supported agents as all the agents are not supported. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
This commit is contained in:
parent
d47c4fea8c
commit
73ead2bcc5
2 changed files with 18 additions and 2 deletions
|
@ -17,3 +17,19 @@ config SCMI_FIRMWARE
|
|||
based on message exchange. Messages can be exchange over tranport
|
||||
channels as a mailbox device or an Arm SMCCC service with some
|
||||
piece of identified shared memory.
|
||||
|
||||
config SCMI_AGENT_MAILBOX
|
||||
bool "Enable SCMI agent mailbox"
|
||||
depends on SCMI_FIRMWARE && DM_MAILBOX
|
||||
default y
|
||||
help
|
||||
Enable the SCMI communication channel based on mailbox
|
||||
for compatible "arm,scmi".
|
||||
|
||||
config SCMI_AGENT_SMCCC
|
||||
bool "Enable SCMI agent SMCCC"
|
||||
depends on SCMI_FIRMWARE && ARM_SMCCC
|
||||
default y
|
||||
help
|
||||
Enable the SCMI communication channel based on Arm SMCCC service for
|
||||
compatible "arm,scmi-smc".
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
obj-y += scmi_agent-uclass.o
|
||||
obj-y += smt.o
|
||||
obj-$(CONFIG_ARM_SMCCC) += smccc_agent.o
|
||||
obj-$(CONFIG_DM_MAILBOX) += mailbox_agent.o
|
||||
obj-$(CONFIG_SCMI_AGENT_SMCCC) += smccc_agent.o
|
||||
obj-$(CONFIG_SCMI_AGENT_MAILBOX) += mailbox_agent.o
|
||||
obj-$(CONFIG_SANDBOX) += sandbox-scmi_agent.o sandbox-scmi_devices.o
|
||||
|
|
Loading…
Add table
Reference in a new issue