linux/drivers/firmware/arm_scmi
Sudeep Holla 5a897e3ab4 firmware: arm_scmi: fix psci dependency
When CONFIG_ARM_PSCI_FW is disabled but CONFIG_HAVE_ARM_SMCCC is enabled,
arm-scmi runs into a link failure:

arm-linux-gnueabi-ld: drivers/firmware/arm_scmi/smc.o: in function `smc_send_message':
smc.c:(.text+0x200): undefined reference to `arm_smccc_1_1_get_conduit'

Change from HAVE_ARM_SMCCC to ARM_PSCI_FW config dependency for now.
We rely on PSCI bindings anyways for the conduit and this should be
fine.

Link: https://lore.kernel.org/r/20200507144905.11397-1-sudeep.holla@arm.com
Fixes: 1dc6558062 ("firmware: arm_scmi: Add smc/hvc transport")
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
2020-05-07 16:28:56 +01:00
..
base.c firmware: arm_scmi: Update protocol commands and notification list 2020-04-14 09:31:49 +01:00
bus.c firmware: arm_scmi: Skip protocol initialisation for additional devices 2019-12-24 11:36:26 +00:00
clock.c firmware: arm_scmi: Stash version in protocol init functions 2019-12-24 11:35:49 +00:00
common.h firmware: arm_scmi: Rename .clear_notification() transport_ops 2020-04-20 17:25:26 +01:00
driver.c firmware: arm_scmi: fix psci dependency 2020-05-07 16:28:56 +01:00
mailbox.c firmware: arm_scmi: Rename .clear_notification() transport_ops 2020-04-20 17:25:26 +01:00
Makefile firmware: arm_scmi: fix psci dependency 2020-05-07 16:28:56 +01:00
perf.c firmware: arm_scmi: Update protocol commands and notification list 2020-04-14 09:31:49 +01:00
power.c firmware: arm_scmi: Update protocol commands and notification list 2020-04-14 09:31:49 +01:00
reset.c firmware: arm_scmi: Stash version in protocol init functions 2019-12-24 11:35:49 +00:00
scmi_pm_domain.c firmware: arm_scmi: Match scmi device by both name and protocol id 2019-12-24 11:35:49 +00:00
sensors.c firmware: arm_scmi: Update protocol commands and notification list 2020-04-14 09:31:49 +01:00
shmem.c firmware: arm_scmi: Rename .clear_notification() transport_ops 2020-04-20 17:25:26 +01:00
smc.c firmware: arm_scmi: Fix return error code in smc_send_message 2020-04-20 17:57:34 +01:00