Hi Patrice,

On 1/20/22 8:19 AM, Patrice Chotard wrote:
Since commit 985503439762 ("fdt: Don't call board_fdt_blob_setup()
  without OF_BOARD") board_fdt_blob_setup() is no more called on
STM32MP platforms in trusted boot which hangs during boot process.

Enable OF_BOARD flag to fix this issue.

Signed-off-by: Patrice Chotard <patrice.chot...@foss.st.com>
---

  arch/arm/mach-stm32mp/Kconfig | 1 +
  1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig
index a6c7fc5bfd..1ef426c0e0 100644
--- a/arch/arm/mach-stm32mp/Kconfig
+++ b/arch/arm/mach-stm32mp/Kconfig
@@ -40,6 +40,7 @@ config STM32MP15x
        select CPU_V7A
        select CPU_V7_HAS_NONSEC
        select CPU_V7_HAS_VIRT
+       select OF_BOARD if TFABOOT
        select OF_BOARD_SETUP
        select PINCTRL_STM32
        select STM32_RCC




Reviewed-by: Patrick Delaunay <patrick.delau...@foss.st.com>

Thanks
Patrick



Reply via email to