[PATCH 14/14] [HACK] configs: stm32mp15: enable earlyprintk

Etienne Carriere etienne.carriere at linaro.org
Thu Nov 4 15:23:24 CET 2021


Increase CONFIG_SYS_MALLOC_F_LEN for pre-reloc trace buffers and
enable earlyprintk config for STM32.

Change-Id: Ibcfcff1f0e6af7eb73b5c53c717bfc6ea20881af
Signed-off-by: Etienne Carriere <etienne.carriere at linaro.org>
---
 configs/stm32mp15_trusted_defconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig
index dc1f48c518..b5608bec42 100644
--- a/configs/stm32mp15_trusted_defconfig
+++ b/configs/stm32mp15_trusted_defconfig
@@ -1,7 +1,7 @@
 CONFIG_ARM=y
 CONFIG_ARCH_STM32MP=y
 CONFIG_TFABOOT=y
-CONFIG_SYS_MALLOC_F_LEN=0x10000
+CONFIG_SYS_MALLOC_F_LEN=0x40000
 CONFIG_SYS_MEMTEST_START=0xc0000000
 CONFIG_SYS_MEMTEST_END=0xc4000000
 CONFIG_ENV_OFFSET=0x280000
@@ -159,3 +159,5 @@ CONFIG_FDT_FIXUP_PARTITIONS=y
 # CONFIG_LMB_USE_MAX_REGIONS is not set
 CONFIG_LMB_MEMORY_REGIONS=2
 CONFIG_LMB_RESERVED_REGIONS=16
+CONFIG_DEBUG_UART_STM32=y
+CONFIG_DEBUG_UART=y
-- 
2.17.1



More information about the U-Boot mailing list