Doc: Change TFM_PLATFORM description
TFM_PLATFORM has been simplified and can be configurated as board
name now. This patch adds the description of the new feature in
documents.
Signed-off-by: Jianliang Shen <jianliang.shen@arm.com>
Change-Id: Id6594c83039a37e04a0af77238bf6624cd4e3e9d
diff --git a/docs/technical_references/instructions/tfm_build_instruction.rst b/docs/technical_references/instructions/tfm_build_instruction.rst
index 144381a..4f700db 100644
--- a/docs/technical_references/instructions/tfm_build_instruction.rst
+++ b/docs/technical_references/instructions/tfm_build_instruction.rst
@@ -77,12 +77,13 @@
Required cmake parameters for building TF-M
-------------------------------------------
-+----------------------+-------------------------------------------------------+
-| Parameter | Description |
-+======================+=======================================================+
-| TFM_PLATFORM | The target platform as a path from the base directory |
-| | ``/platform/ext/target``, or as an absolute path. |
-+----------------------+-------------------------------------------------------+
+``TFM_PLATFORM`` is required to select the target platform, it can be:
+ - A relative path under ``<TF-M_root>/platform/ext/target``,
+ for example ``arm/mps2/an521``.
+ - An absolute path of target platform, mainly used for out-of-tree platform
+ build.
+ - A target platform name that is supported under
+ <TF-M_root>/platform/ext/target, for example ``an521``.
Build type
----------
@@ -531,5 +532,5 @@
--------------
-*Copyright (c) 2017-2021, Arm Limited. All rights reserved.*
+*Copyright (c) 2017-2022, Arm Limited. All rights reserved.*
*Copyright (c) 2022, Cypress Semiconductor Corporation. All rights reserved.*