]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/lib/bootm.c
powerpc: Move cpu specific lmb reserve to arch_lmb_reserve
[karo-tx-uboot.git] / arch / powerpc / lib / bootm.c
index 116d81bec6bf03baf0d53fb796f0960c840710e4..c7f3d084a3a226cbac4456e6ee6fbea24da5c10f 100644 (file)
@@ -33,6 +33,7 @@
 #include <bzlib.h>
 #include <environment.h>
 #include <asm/byteorder.h>
+#include <asm/mp.h>
 
 #if defined(CONFIG_OF_LIBFDT)
 #include <fdt.h>
@@ -166,6 +167,10 @@ void arch_lmb_reserve(struct lmb *lmb)
        sp -= 4096;
        lmb_reserve(lmb, sp, (CONFIG_SYS_SDRAM_BASE + get_effective_memsize() - sp));
 
+#ifdef CONFIG_MP
+       cpu_mp_lmb_reserve(lmb);
+#endif
+
        return ;
 }