summaryrefslogtreecommitdiff
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2018-08-27 15:57:49 +0530
committerTom Rini <trini@konsulko.com>2018-09-11 08:32:55 -0400
commit880274192cfdcec83b32b15ae47e7cbfc2edc1df (patch)
treea5ef8b51607c02d89b4ad6b411223198f4a09988 /drivers/mailbox
parentf9aa41023bd9f684d5d2ad8385efbb92a39b3c07 (diff)
spl: Allow mailbox drivers to be used within SPL
Add an option for building mailbox drivers within SPL. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'drivers/mailbox')
-rw-r--r--drivers/mailbox/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/Makefile b/drivers/mailbox/Makefile
index 4ac85d412f..243ff6f3ce 100644
--- a/drivers/mailbox/Makefile
+++ b/drivers/mailbox/Makefile
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: GPL-2.0
-obj-$(CONFIG_DM_MAILBOX) += mailbox-uclass.o
+obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox-uclass.o
obj-$(CONFIG_SANDBOX_MBOX) += sandbox-mbox.o
obj-$(CONFIG_SANDBOX_MBOX) += sandbox-mbox-test.o
obj-$(CONFIG_TEGRA_HSP) += tegra-hsp.o