summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/fdt.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2022-05-20 18:24:46 +0200
committerPatrick Delaunay <patrick.delaunay@foss.st.com>2022-06-17 09:58:21 +0200
commit960debbe3c55b111f95a60fa69f47c233a960666 (patch)
tree721203ed9af727f4f0a67c612bafb0fcfd40a618 /arch/arm/mach-stm32mp/fdt.c
parent741090c5107c798ce3b8cd8e62edaf4727e93c6f (diff)
arm: stm32mp: add support of STM32MP13x
Introduce the code in mach-stm32mp and the configuration file stm32mp13_defconfig for the new STM32MP family. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/fdt.c')
-rw-r--r--arch/arm/mach-stm32mp/fdt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32mp/fdt.c b/arch/arm/mach-stm32mp/fdt.c
index 7412f0e0299..687543e712b 100644
--- a/arch/arm/mach-stm32mp/fdt.c
+++ b/arch/arm/mach-stm32mp/fdt.c
@@ -259,6 +259,9 @@ int ft_system_setup(void *blob, struct bd_info *bd)
u32 pkg, cpu;
char name[SOC_NAME_SIZE];
+ if (IS_ENABLED(CONFIG_STM32MP13x))
+ return 0;
+
soc = fdt_path_offset(blob, "/soc");
/* when absent, nothing to do */
if (soc == -FDT_ERR_NOTFOUND)