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:
parent
0f394c5958
commit
47de21d5c0
2 changed files with 14 additions and 8 deletions
|
@ -9,20 +9,16 @@ menuconfig MBOX
|
||||||
|
|
||||||
if 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
|
config MBOX_INIT_PRIORITY
|
||||||
int "MBOX init priority"
|
int "MBOX init priority"
|
||||||
default KERNEL_INIT_PRIORITY_DEVICE
|
default KERNEL_INIT_PRIORITY_DEVICE
|
||||||
help
|
help
|
||||||
MBOX driver device initialization priority.
|
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 = MBOX
|
||||||
module-str = mbox
|
module-str = mbox
|
||||||
source "subsys/logging/Kconfig.template.log_config"
|
source "subsys/logging/Kconfig.template.log_config"
|
||||||
|
|
10
drivers/mbox/Kconfig.nrfx
Normal file
10
drivers/mbox/Kconfig.nrfx
Normal 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.
|
Loading…
Add table
Add a link
Reference in a new issue