summaryrefslogtreecommitdiff
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2020-11-01 18:42:29 +0300
committerJassi Brar <jaswinder.singh@linaro.org>2020-12-02 04:17:20 +0300
commitd68f17291ccf86442c3d367ba83581b81541baae (patch)
treed8401224d3fc34d25f934174f4abfca3f6059967 /drivers/mailbox
parent9905f728b0bda737fe2c2afd7c24f3365a45cc7b (diff)
downloadlinux-d68f17291ccf86442c3d367ba83581b81541baae.tar.xz
mailbox: stm32-ipcc: add COMPILE_TEST dependency
This allows compiling the driver on architectures where the hardware is not available. Most other mailbox drivers support this as well. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Reviewed-by: Fabien Dessenne <fabien.dessenne@st.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/mailbox')
-rw-r--r--drivers/mailbox/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig
index 05b1009e2820..abbf5d67ffa2 100644
--- a/drivers/mailbox/Kconfig
+++ b/drivers/mailbox/Kconfig
@@ -201,7 +201,7 @@ config BCM_FLEXRM_MBOX
config STM32_IPCC
tristate "STM32 IPCC Mailbox"
- depends on MACH_STM32MP157
+ depends on MACH_STM32MP157 || COMPILE_TEST
help
Mailbox implementation for STMicroelectonics STM32 family chips
with hardware for Inter-Processor Communication Controller (IPCC)