mailbox: stm32-ipcc: add COMPILE_TEST dependency
authorMartin Kaiser <martin@kaiser.cx>
Sun, 1 Nov 2020 15:42:29 +0000 (16:42 +0100)
committerJassi Brar <jaswinder.singh@linaro.org>
Wed, 2 Dec 2020 01:17:20 +0000 (19:17 -0600)
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>
drivers/mailbox/Kconfig

index 05b1009..abbf5d6 100644 (file)
@@ -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)