Skip to content

Commit

Permalink
drivers: ipm: Cleanup IPM Kconfig
Browse files Browse the repository at this point in the history
Make all option be hidden behind IPM menu

Signed-off-by: Andrei Emeltchenko <[email protected]>
  • Loading branch information
finikorg authored and nashif committed Dec 10, 2019
1 parent 0186ead commit e770c8d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions drivers/ipm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ menuconfig IPM
Include interrupt-based inter-processor mailboxes
drivers in system configuration

if IPM

config IPM_MCUX
bool "MCUX IPM driver"
depends on IPM && HAS_MCUX
depends on HAS_MCUX
help
Driver for MCUX mailbox

config IPM_IMX
bool "IMX IPM driver"
depends on IPM && HAS_IMX_HAL
depends on HAS_IMX_HAL
help
Driver for NXP i.MX messaging unit

Expand Down Expand Up @@ -63,13 +65,12 @@ config IPM_IMX_MAX_ID_VAL

config IPM_MHU
bool "IPM MHU driver"
depends on IPM
help
Driver for SSE 200 MHU (Message Handling Unit)

config IPM_NRFX
bool "IPM NRF driver"
depends on IPM && HAS_HW_NRF_IPC
depends on HAS_HW_NRF_IPC
select NRFX_IPC
help
Driver for Nordic nRF messaging unit, based
Expand All @@ -86,7 +87,6 @@ source "drivers/ipm/Kconfig.nrfx"

config IPM_STM32_IPCC
bool "STM32 IPCC controller"
depends on IPM
select USE_STM32_LL_IPCC
help
Driver for stm32 IPCC mailboxes
Expand All @@ -102,3 +102,5 @@ config IPM_STM32_IPCC_PROCID
module = IPM
module-str = ipm
source "subsys/logging/Kconfig.template.log_config"

endif #IPM

0 comments on commit e770c8d

Please sign in to comment.