# Copyright (c) 2021 Carlo Caione <ccaione@baylibre.com>
# SPDX-License-Identifier: Apache-2.0

menuconfig MBOX
	bool "MBOX drivers"
	help
	  Include multi-channel interrupt-based inter-processor mailboxes
	  drivers in system configuration

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"
source "drivers/mbox/Kconfig.nxp_s32"

config MBOX_INIT_PRIORITY
	int "MBOX init priority"
	default KERNEL_INIT_PRIORITY_DEVICE
	help
	  MBOX driver device initialization priority.

module = MBOX
module-str = mbox
source "subsys/logging/Kconfig.template.log_config"

endif # MBOX
