diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2021-08-03 16:10:17 +0300 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2021-08-05 12:23:22 +0300 |
commit | e8419c24bacee45bfe3504814e91fc89ff8c23de (patch) | |
tree | da1e2d57c6ad89056f53352c823b4d8e37d1b689 /drivers/firmware/arm_scmi/common.h | |
parent | 2930abcffd9f0b36e8fd4df01f6311eede686817 (diff) | |
download | linux-e8419c24bacee45bfe3504814e91fc89ff8c23de.tar.xz |
firmware: arm_scmi: Make SCMI transports configurable
Add configuration options to be able to select which SCMI transports have
to be compiled into the SCMI stack.
Mailbox and SMC are by default enabled if their related dependencies are
satisfied.
While doing that move all SCMI related config options in their own
dedicated submenu.
Link: https://lore.kernel.org/r/20210803131024.40280-9-cristian.marussi@arm.com
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware/arm_scmi/common.h')
-rw-r--r-- | drivers/firmware/arm_scmi/common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/firmware/arm_scmi/common.h b/drivers/firmware/arm_scmi/common.h index dd19ec2e0105..204cde53a9a7 100644 --- a/drivers/firmware/arm_scmi/common.h +++ b/drivers/firmware/arm_scmi/common.h @@ -403,8 +403,10 @@ struct scmi_desc { int max_msg_size; }; +#ifdef CONFIG_ARM_SCMI_TRANSPORT_MAILBOX extern const struct scmi_desc scmi_mailbox_desc; -#ifdef CONFIG_HAVE_ARM_SMCCC_DISCOVERY +#endif +#ifdef CONFIG_ARM_SCMI_TRANSPORT_SMC extern const struct scmi_desc scmi_smc_desc; #endif |