drivers: mbox: separate NRFx specific Kconfig

Separate NRFx Mbox driver Kconfig to make place for other drivers.

Signed-off-by: Manuel Arguelles <manuel.arguelles@nxp.com>
This commit is contained in:
Manuel Arguelles 2022-11-29 09:51:29 +07:00 committed by Carles Cufí
parent 0f394c5958
commit 47de21d5c0
2 changed files with 14 additions and 8 deletions

View file

@ -9,20 +9,16 @@ menuconfig MBOX
if MBOX
# Include these first so that any properties (e.g. defaults) below can be
# overridden (by defining symbols in multiple locations)
source "drivers/mbox/Kconfig.nrfx"
config MBOX_INIT_PRIORITY
int "MBOX init priority"
default KERNEL_INIT_PRIORITY_DEVICE
help
MBOX driver device initialization priority.
config MBOX_NRFX_IPC
bool "MBOX NRF IPC driver"
depends on HAS_HW_NRF_IPC
select NRFX_IPC
help
Driver for Nordic nRF messaging unit, based
on nRF IPC peripheral HW.
module = MBOX
module-str = mbox
source "subsys/logging/Kconfig.template.log_config"

10
drivers/mbox/Kconfig.nrfx Normal file
View file

@ -0,0 +1,10 @@
# Copyright (c) 2021 Carlo Caione <ccaione@baylibre.com>
# SPDX-License-Identifier: Apache-2.0
config MBOX_NRFX_IPC
bool "MBOX NRF IPC driver"
depends on HAS_HW_NRF_IPC
select NRFX_IPC
help
Driver for Nordic nRF messaging unit, based
on nRF IPC peripheral HW.