summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-01-06 01:11:26 +0300
committerRob Herring <robh@kernel.org>2018-01-30 20:15:55 +0300
commita518a04eb0f5be616eebff567611e1fd9692b995 (patch)
tree1e1fb3160e230ab8c8b6306abf30ea599c79e227 /arch/mips
parentac94f18f6636d45a7d78f74d2a741d038d0f8c10 (diff)
downloadlinux-a518a04eb0f5be616eebff567611e1fd9692b995.tar.xz
mips: remove arch specific early_init_dt_alloc_memory_arch
Now that the DT core code handles bootmem arches, we can remove the MIPS specific early_init_dt_alloc_memory_arch function. Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/kernel/prom.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mips/kernel/prom.c b/arch/mips/kernel/prom.c
index 0dbcd152a1a9..89950b7bf536 100644
--- a/arch/mips/kernel/prom.c
+++ b/arch/mips/kernel/prom.c
@@ -44,11 +44,6 @@ void __init early_init_dt_add_memory_arch(u64 base, u64 size)
return add_memory_region(base, size, BOOT_MEM_RAM);
}
-void * __init early_init_dt_alloc_memory_arch(u64 size, u64 align)
-{
- return __alloc_bootmem(size, align, __pa(MAX_DMA_ADDRESS));
-}
-
int __init early_init_dt_reserve_memory_arch(phys_addr_t base,
phys_addr_t size, bool nomap)
{