boards: arm: v2m_musca_b1: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae
2024-02-06 11:39:24 +00:00
committed by Carles Cufi
parent baeebd31d2
commit 33b47b2edb
18 changed files with 24 additions and 34 deletions

View File

@@ -1,11 +1,7 @@
# Copyright (c) 2019 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
if BOARD_MUSCA_B1
config BOARD
default "musca_b1" if TRUSTED_EXECUTION_SECURE || !TRUSTED_EXECUTION_NONSECURE
default "musca_b1_ns"
if BOARD_V2M_MUSCA_B1
if SERIAL
@@ -14,4 +10,4 @@ config UART_INTERRUPT_DRIVEN
endif # SERIAL
endif
endif # BOARD_V2M_MUSCA_B1

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2019 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
config BOARD_V2M_MUSCA_B1
select SOC_V2M_MUSCA_B1

View File

@@ -0,0 +1,7 @@
board:
name: v2m_musca_b1
vendor: ARM
socs:
- name: musca_b1
variants:
- name: 'ns'

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

@@ -1,4 +1,4 @@
identifier: v2m_musca_b1
identifier: v2m_musca_b1/musca_b1
name: ARM V2M MUSCA B1
type: mcu
arch: arm

View File

@@ -4,8 +4,6 @@
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_SOC_SERIES_MUSCA_B1=y
CONFIG_SOC_V2M_MUSCA_B1=y
CONFIG_RUNTIME_NMI=y
CONFIG_ARM_TRUSTZONE_M=y
CONFIG_ARM_MPU=y

View File

@@ -1,4 +1,4 @@
identifier: v2m_musca_b1_ns
identifier: v2m_musca_b1/musca_b1/ns
name: ARM V2M MUSCA B1 NonSecure
type: mcu
arch: arm

View File

@@ -0,0 +1,7 @@
#
# Copyright (c) 2019 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_TRUSTED_EXECUTION_NONSECURE=y

View File

@@ -1,6 +0,0 @@
# Copyright (c) 2019 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
config BOARD_MUSCA_B1
bool "ARM Cortex-M33 SMM on V2M-MUSCA"
depends on SOC_SERIES_MUSCA_B1

View File

@@ -1,17 +0,0 @@
#
# Copyright (c) 2019 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_SOC_SERIES_MUSCA_B1=y
CONFIG_SOC_V2M_MUSCA_B1=y
CONFIG_ARM_TRUSTZONE_M=y
CONFIG_RUNTIME_NMI=y
CONFIG_TRUSTED_EXECUTION_NONSECURE=y
CONFIG_ARM_MPU=y
# Serial
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y

View File

@@ -15,7 +15,7 @@ config TFM_BOARD
default "stm/b_u585i_iot02a" if BOARD_B_U585I_IOT02A
default "stm/nucleo_l552ze_q" if BOARD_NUCLEO_L552ZE_Q
default "stm/stm32l562e_dk" if BOARD_STM32L562E_DK
default "arm/musca_b1" if BOARD_MUSCA_B1
default "arm/musca_b1" if BOARD_V2M_MUSCA_B1
default "arm/musca_s1" if BOARD_MUSCA_S1
default "${ZEPHYR_BASE}/modules/trusted-firmware-m/nordic_nrf/nrf9160" if SOC_NRF9160
default "${ZEPHYR_BASE}/modules/trusted-firmware-m/nordic_nrf/nrf9120" if SOC_NRF9120