ARM: stm32mp: skip ft_system_setup when the soc node is absent
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 15 Apr 2022 12:43:23 +0000 (14:43 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 10 May 2022 08:56:39 +0000 (10:56 +0200)
commit6a69eaf6f43840b05d7093c2728b2b6b011c31de
tree3b286ff8d1f5380a4002b3dec9ac43bb75f135c9
parent5367b67be4a3d26197fe5bf7baef2bf125997047
ARM: stm32mp: skip ft_system_setup when the soc node is absent

The function ft_system_setup shouldn't return an error when the
/soc node is absent in the provided device tree but just skip the
updates.

This patch solves an issue when the U-Boot pytest is executed on board.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/mach-stm32mp/fdt.c