2022-08-30 03:50:38 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Copyright (c) 2022, Intel Corporation
|
|
|
|
|
|
|
|
config IPM_STM32_IPCC
|
|
|
|
bool "STM32 IPCC controller"
|
2022-11-01 01:33:09 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_ST_STM32_IPCC_MAILBOX_ENABLED
|
2022-08-30 03:50:38 +08:00
|
|
|
select USE_STM32_LL_IPCC
|
|
|
|
help
|
|
|
|
Driver for stm32 IPCC mailboxes
|
|
|
|
|
|
|
|
config IPM_STM32_IPCC_PROCID
|
|
|
|
int "STM32 IPCC Processor ID"
|
|
|
|
default 2
|
|
|
|
range 1 2
|
|
|
|
depends on IPM_STM32_IPCC
|
|
|
|
help
|
|
|
|
use to define the Processor ID for IPCC access
|
|
|
|
|
|
|
|
config IPM_STM32_HSEM
|
|
|
|
bool "STM32 HSEM controller"
|
2022-11-01 01:33:09 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_ST_STM32_HSEM_MAILBOX_ENABLED
|
2022-08-30 03:50:38 +08:00
|
|
|
help
|
|
|
|
Driver for stm32 HSEM mailbox
|
|
|
|
|
|
|
|
config IPM_STM32_HSEM_CPU
|
|
|
|
int "HSEM CPU ID"
|
|
|
|
default 1 if "$(dt_nodelabel_enabled,cpu0)"
|
|
|
|
default 2 if "$(dt_nodelabel_enabled,cpu1)"
|
|
|
|
range 1 2
|
|
|
|
depends on IPM_STM32_HSEM
|
|
|
|
help
|
|
|
|
use to define the CPU ID used by HSEM
|