]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/lib/bootm-fdt.c
libfdt: replace ARCH_FIXUP_FDT with ARCH_FIXUP_FDT_MEMORY
[people/ms/u-boot.git] / arch / arm / lib / bootm-fdt.c
index 76b75d8e4643ee9a018c216c15301de2ae15f3d4..4481f9e2fa9ceb26f2f54f21e67f6b825c016601 100644 (file)
@@ -21,6 +21,7 @@
 #include <asm/armv7.h>
 #endif
 #include <asm/psci.h>
+#include <asm/spin_table.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -45,7 +46,13 @@ int arch_fixup_fdt(void *blob)
        if (ret)
                return ret;
 
-#ifdef CONFIG_ARMV7_NONSEC
+#ifdef CONFIG_ARMV8_SPIN_TABLE
+       ret = spin_table_update_dt(blob);
+       if (ret)
+               return ret;
+#endif
+
+#if defined(CONFIG_ARMV7_NONSEC) || defined(CONFIG_ARMV8_PSCI)
        ret = psci_update_dt(blob);
        if (ret)
                return ret;