Skip to content

Commit b4009ea

Browse files
etienne-lmsgregkh
authored andcommitted
firmware: arm_scmi: Add SMCCC discovery dependency in Kconfig
[ Upstream commit c05b079 ] ARM_SCMI_PROTOCOL depends on either MAILBOX or HAVE_ARM_SMCCC_DISCOVERY, not MAILBOX alone. Fix the depedency in Kconfig file and driver to reflect the same. Link: https://lore.kernel.org/r/20210521134055.24271-1-etienne.carriere@linaro.org Reviewed-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> [sudeep.holla: Minor tweaks to subject and change log] Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 41e2bcc commit b4009ea

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/firmware/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ menu "Firmware Drivers"
99
config ARM_SCMI_PROTOCOL
1010
tristate "ARM System Control and Management Interface (SCMI) Message Protocol"
1111
depends on ARM || ARM64 || COMPILE_TEST
12-
depends on MAILBOX
12+
depends on MAILBOX || HAVE_ARM_SMCCC_DISCOVERY
1313
help
1414
ARM System Control and Management Interface (SCMI) protocol is a
1515
set of operating system-independent software interfaces that are

‎drivers/firmware/arm_scmi/common.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ struct scmi_desc {
243243
};
244244

245245
extern const struct scmi_desc scmi_mailbox_desc;
246-
#ifdef CONFIG_HAVE_ARM_SMCCC
246+
#ifdef CONFIG_HAVE_ARM_SMCCC_DISCOVERY
247247
extern const struct scmi_desc scmi_smc_desc;
248248
#endif
249249

0 commit comments

Comments
 (0)