summaryrefslogtreecommitdiff
path: root/arch/nios2
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-01-06 01:11:49 +0300
committerRob Herring <robh@kernel.org>2018-01-30 20:17:12 +0300
commitf7a6e01c8c90596c1871c9fae22e498cbf1c73a1 (patch)
tree84c2af4d8398d72e55c54997a06bd080eab5ac75 /arch/nios2
parenta518a04eb0f5be616eebff567611e1fd9692b995 (diff)
downloadlinux-f7a6e01c8c90596c1871c9fae22e498cbf1c73a1.tar.xz
nios2: remove arch specific early_init_dt_alloc_memory_arch
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>
Diffstat (limited to 'arch/nios2')
-rw-r--r--arch/nios2/kernel/prom.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/nios2/kernel/prom.c b/arch/nios2/kernel/prom.c
index 6688576b3a47..8d7446a4b475 100644
--- a/arch/nios2/kernel/prom.c
+++ b/arch/nios2/kernel/prom.c
@@ -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)
{