diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2011-01-31 15:51:20 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-04-04 09:24:40 -0500 |
commit | 561e710a979c86a0c647dd70d143cafc123bcd64 (patch) | |
tree | deb64200384da61104751949ed3d08447601dafe /arch | |
parent | ccc4a8d89f8abcd30c25ac67a5aa5e57ac2eb515 (diff) | |
download | u-boot-imx-561e710a979c86a0c647dd70d143cafc123bcd64.zip u-boot-imx-561e710a979c86a0c647dd70d143cafc123bcd64.tar.gz u-boot-imx-561e710a979c86a0c647dd70d143cafc123bcd64.tar.bz2 |
powerpc: Move cpu specific lmb reserve to arch_lmb_reserve
We've been utilizing board_lmb_reserve to reserve the boot page for MP
systems. We can just move this into arch_lmb_reserve for 85xx & 86xx
systems rather than duplicating in each board port.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/lib/bootm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/lib/bootm.c b/arch/powerpc/lib/bootm.c index 116d81b..c7f3d08 100644 --- a/arch/powerpc/lib/bootm.c +++ b/arch/powerpc/lib/bootm.c @@ -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 ; } |