diff options
Diffstat (limited to 'arch/nios2/lib/bootm.c')
| -rw-r--r-- | arch/nios2/lib/bootm.c | 14 | 
1 files changed, 0 insertions, 14 deletions
| diff --git a/arch/nios2/lib/bootm.c b/arch/nios2/lib/bootm.c index 657a17c7204..71319839ba2 100644 --- a/arch/nios2/lib/bootm.c +++ b/arch/nios2/lib/bootm.c @@ -4,7 +4,6 @@   * Scott McNutt <smcnutt@psyent.com>   */ -#include <common.h>  #include <bootm.h>  #include <cpu_func.h>  #include <env.h> @@ -65,16 +64,3 @@ int do_bootm_linux(int flag, struct bootm_info *bmi)  	return 1;  } - -static ulong get_sp(void) -{ -	ulong ret; - -	asm("mov %0, sp" : "=r"(ret) : ); -	return ret; -} - -void arch_lmb_reserve(struct lmb *lmb) -{ -	arch_lmb_reserve_generic(lmb, get_sp(), gd->ram_top, 4096); -} | 
