From 97c501f0f33463471740befb52f2cdc2192613f4 Mon Sep 17 00:00:00 2001 From: Sudan Landge Date: Tue, 27 May 2025 11:36:06 +0100 Subject: [PATCH] modules: ethos_u: arm: update for MPS4 Update support for MPS4 which has default 256 MACs as per FVP. Signed-off-by: Sudan Landge --- modules/hal_ethos_u/Kconfig | 5 +++-- modules/trusted-firmware-m/Kconfig.tfm | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/hal_ethos_u/Kconfig b/modules/hal_ethos_u/Kconfig index 4ca5136cf02..e7b045c2352 100644 --- a/modules/hal_ethos_u/Kconfig +++ b/modules/hal_ethos_u/Kconfig @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: Copyright 2021-2022, 2024 Arm Limited and/or its +# SPDX-FileCopyrightText: Copyright 2021-2022, 2024-2025 Arm Limited and/or its # affiliates # SPDX-License-Identifier: Apache-2.0 @@ -13,7 +13,8 @@ if ARM_ETHOS_U menu "Arm Ethos-U NPU configuration" choice ARM_ETHOS_U_NPU_CONFIG prompt "Arm Ethos-U NPU configuration" - default ARM_ETHOS_U55_128 + default ARM_ETHOS_U55_128 if SOC_SERIES_MPS3 + default ARM_ETHOS_U85_256 if SOC_SERIES_MPS4 config ARM_ETHOS_U55_64 bool "using Ethos-U55 with 64 macs" config ARM_ETHOS_U55_128 diff --git a/modules/trusted-firmware-m/Kconfig.tfm b/modules/trusted-firmware-m/Kconfig.tfm index d1cf81f8f0a..97591ac8a83 100644 --- a/modules/trusted-firmware-m/Kconfig.tfm +++ b/modules/trusted-firmware-m/Kconfig.tfm @@ -2,7 +2,7 @@ # Copyright (c) 2019, 2020 Linaro Limited # Copyright (c) 2020, 2021 Nordic Semiconductor ASA -# Copyright 2024 Arm Limited and/or its affiliates +# Copyright 2024-2025 Arm Limited and/or its affiliates # SPDX-License-Identifier: Apache-2.0 config ZEPHYR_TRUSTED_FIRMWARE_M_MODULE @@ -333,7 +333,7 @@ endchoice config TFM_ETHOS_DRIVER_PATH_LOCAL string "Path to a locally available Ethos-U driver or an empty string" - depends on SOC_SERIES_MPS3 + depends on SOC_SERIES_MPS3 || SOC_SERIES_MPS4 default "${ZEPHYR_HAL_ETHOS_U_MODULE_DIR}" help Path to a locally available Ethos-U driver to be used for TF-M builds or