From 40ed77feca03f2dce7a396b0bd19d1ea5b4e39c1 Mon Sep 17 00:00:00 2001 From: Yann Gautier Date: Tue, 19 Mar 2024 10:40:12 +0100 Subject: [PATCH] docs(st): one device flag for ST platforms Due to embedded SRAM used to load BL2 and BL31 or BL32 has a limited size, only one storage device or serial device flag should be selected in TF-A build command line for ST platforms. This is in line with STMicroelectionics recommendation [1] about those compilation flags. [1]: https://wiki.st.com/stm32mpu/wiki/How_to_configure_TF-A_BL2#Build_command_details Signed-off-by: Yann Gautier Change-Id: I6f6ab17d45d00289989a606d15c143e5710c64ce --- docs/plat/st/stm32mpus.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/plat/st/stm32mpus.rst b/docs/plat/st/stm32mpus.rst index 931dd57fe..ab6d8fe51 100644 --- a/docs/plat/st/stm32mpus.rst +++ b/docs/plat/st/stm32mpus.rst @@ -45,6 +45,8 @@ Serial boot devices: - ``STM32MP_UART_PROGRAMMER`` - ``STM32MP_USB_PROGRAMMER`` +Only one storage or serial device should be selected in the build command line, +to save space and not overflow SYSRAM size, or else the platform won't build or boot. Other configuration flags: @@ -75,4 +77,4 @@ Usually, two copies of fsbl are used (fsbl1 and fsbl2) instead of one partition -------------- -*Copyright (c) 2023, STMicroelectronics - All Rights Reserved* +*Copyright (c) 2023-2024, STMicroelectronics - All Rights Reserved*