boards: st: nucleo_u5a5zi_q: Remove TF-M references
This board is not available in TF-M, remove any TF-M related material.
Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
diff --git a/boards/st/nucleo_u5a5zj_q/CMakeLists.txt b/boards/st/nucleo_u5a5zj_q/CMakeLists.txt
deleted file mode 100644
index 7c2da29..0000000
--- a/boards/st/nucleo_u5a5zj_q/CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-# SPDX-License-Identifier: Apache-2.0
-
-if(${ZEPHYR_TOOLCHAIN_VARIANT} STREQUAL "zephyr")
- set(COMPILER_FULL_PATH ${ZEPHYR_SDK_INSTALL_DIR}/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc)
-elseif(${ZEPHYR_TOOLCHAIN_VARIANT} STREQUAL "gnuarmemb")
- set(COMPILER_FULL_PATH ${GNUARMEMB_TOOLCHAIN_PATH}/bin/arm-none-eabi-gcc)
-endif()
-
-if(CONFIG_BUILD_WITH_TFM)
- set_property(GLOBAL APPEND PROPERTY extra_post_build_commands
- #Execute post build script postbuild.sh
- COMMAND $<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/api_ns/postbuild.sh ${COMPILER_FULL_PATH}
- )
-endif()
diff --git a/boards/st/nucleo_u5a5zj_q/doc/index.rst b/boards/st/nucleo_u5a5zj_q/doc/index.rst
index 9b76919..521997c 100644
--- a/boards/st/nucleo_u5a5zj_q/doc/index.rst
+++ b/boards/st/nucleo_u5a5zj_q/doc/index.rst
@@ -330,33 +330,6 @@
:board: nucleo_u5a5zj_q
:goals: debug
-Building a secure/non-secure with Arm ® TrustZone ®
-===========================================================
-
-The TF-M applications can be run on this board, thanks to its Arm ® TrustZone ®
-support.
-In TF-M configuration, Zephyr is run on the non-secure domain. A non-secure image
-can be generated using ``nucleo_u5a5zj_q_ns`` as build target.
-
-.. code-block:: bash
-
- $ west build -b nucleo_u5a5zj_q_ns path/to/source/directory
-
-Note: When building the ``*_ns`` image with TF-M, ``build/tfm/api_ns/postbuild.sh`` bash script
-is run automatically in a post-build step to make some required flash layout changes.
-
-Once the build is completed, run the following script to initialize the option bytes.
-
-.. code-block:: bash
-
- $ build/tfm/regression.sh
-
-Finally, to flash the board, run:
-
-.. code-block:: bash
-
- $ west flash
-
Note: Check the ``build/tfm`` directory to ensure that the commands required by these scripts
(``readlink``, etc.) are available on your system. Please also check ``STM32_Programmer_CLI``
(which is used for initialization) is available in the PATH.