5xxx, fdt: move fdt_fixup_memory() to cpu.c file
[platform/kernel/u-boot.git] / cpu / mpc512x / cpu.c
index 42ccd81..dac48db 100644 (file)
@@ -197,6 +197,7 @@ void ft_cpu_setup(void *blob, bd_t *bd)
 #ifdef CONFIG_HAS_ETH0
        fdt_fixup_ethernet(blob);
 #endif
+       fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize);
 }
 #endif