]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cpu/mpc85xx/fdt.c
ppc/85xx/86xx: Device tree fixup for number of cores
[people/ms/u-boot.git] / cpu / mpc85xx / fdt.c
index 8366379ab60f8a4518f1d9a08d3aa98401322487..723f473dabfdc5c6d760edc797f0064304f8f0f4 100644 (file)
@@ -34,6 +34,7 @@
 DECLARE_GLOBAL_DATA_PTR;
 
 extern void ft_qe_setup(void *blob);
+extern void ft_fixup_num_cores(void *blob);
 
 #ifdef CONFIG_MP
 #include "mp.h"
@@ -327,6 +328,7 @@ void ft_cpu_setup(void *blob, bd_t *bd)
 #ifdef CONFIG_MP
        ft_fixup_cpu(blob, (u64)bd->bi_memstart + (u64)bd->bi_memsize);
 #endif
+       ft_fixup_num_cores(blob);
 
        ft_fixup_cache(blob);