]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
nios2: remove arch specific early_init_dt_alloc_memory_arch
authorRob Herring <robh@kernel.org>
Fri, 5 Jan 2018 22:11:49 +0000 (16:11 -0600)
committerRob Herring <robh@kernel.org>
Tue, 30 Jan 2018 17:17:12 +0000 (11:17 -0600)
Now that the DT core code handles bootmem arches, we can remove the nios2
specific early_init_dt_alloc_memory_arch function.

Cc: Ley Foon Tan <lftan@altera.com>
Cc: nios2-dev@lists.rocketboards.org
Reviewed-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Rob Herring <robh@kernel.org>
arch/nios2/kernel/prom.c

index 6688576b3a473fbb0791f97c455478c87533274a..8d7446a4b475f87a5292cfda2557115b0061413c 100644 (file)
@@ -42,11 +42,6 @@ void __init early_init_dt_add_memory_arch(u64 base, u64 size)
 
 }
 
-void * __init early_init_dt_alloc_memory_arch(u64 size, u64 align)
-{
-       return alloc_bootmem_align(size, align);
-}
-
 int __init early_init_dt_reserve_memory_arch(phys_addr_t base, phys_addr_t size,
                                             bool nomap)
 {