diff options
author | Igor Skalkin <igor.skalkin@opensynergy.com> | 2021-08-03 14:10:18 +0100 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2021-08-05 10:23:23 +0100 |
commit | a7b1138b921dc19f859296b2eb3daa7c5e22c354 (patch) | |
tree | 9ae53aea224d8af15da94eebc007aa56218d27e4 /drivers/firmware/arm_scmi/Makefile | |
parent | e8419c24bacee45bfe3504814e91fc89ff8c23de (diff) | |
download | linux-stable-a7b1138b921dc19f859296b2eb3daa7c5e22c354.tar.gz linux-stable-a7b1138b921dc19f859296b2eb3daa7c5e22c354.tar.bz2 linux-stable-a7b1138b921dc19f859296b2eb3daa7c5e22c354.zip |
firmware: arm_scmi: Make shmem support optional for transports
Upcoming new SCMI transports won't need any kind of shared memory support.
Compile shmem.c only if a shmem based transport is selected.
Link: https://lore.kernel.org/r/20210803131024.40280-10-cristian.marussi@arm.com
Co-developed-by: Peter Hilber <peter.hilber@opensynergy.com>
Signed-off-by: Igor Skalkin <igor.skalkin@opensynergy.com>
[ Peter: Adapted patch for submission to upstream. ]
Signed-off-by: Peter Hilber <peter.hilber@opensynergy.com>
[ Cristian: Adapted patch/commit_msg to new SCMI Kconfig layout ]
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/Makefile')
-rw-r--r-- | drivers/firmware/arm_scmi/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/arm_scmi/Makefile b/drivers/firmware/arm_scmi/Makefile index 38163d6991b3..e0e6bd3dba9e 100644 --- a/drivers/firmware/arm_scmi/Makefile +++ b/drivers/firmware/arm_scmi/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only scmi-bus-y = bus.o scmi-driver-y = driver.o notify.o -scmi-transport-y = shmem.o +scmi-transport-$(CONFIG_ARM_SCMI_HAVE_SHMEM) = shmem.o scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_MAILBOX) += mailbox.o scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_SMC) += smc.o scmi-protocols-y = base.o clock.o perf.o power.o reset.o sensors.o system.o voltage.o |