aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-08-30 18:06:53 -0400
committerRob Herring <rob.herring@calxeda.com>2013-10-09 12:39:01 -0400
commit29eb45a9ab4839a1e9cef2bcf369b918c9c4fcad (patch)
tree00893156dab39f9e739ab9055dd163a2a547d721 /arch/mips/kernel
parentec2eaa73b3d21776f46797a2eef983d7be09a964 (diff)
of: remove early_init_dt_setup_initrd_arch
All arches do essentially the same thing now for early_init_dt_setup_initrd_arch, so it can now be removed. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Vineet Gupta <vgupta@synopsys.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: Mark Salter <msalter@redhat.com> Cc: Aurelien Jacquiot <a-jacquiot@ti.com> Cc: James Hogan <james.hogan@imgtec.com> Cc: Michal Simek <monstr@monstr.eu> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Jonas Bonn <jonas@southpole.se> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: x86@kernel.org Cc: Chris Zankel <chris@zankel.net> Cc: Max Filippov <jcmvbkbc@gmail.com> Acked-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r--arch/mips/kernel/prom.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/mips/kernel/prom.c b/arch/mips/kernel/prom.c
index 67a4c53b2b54..0b2485f9a6c1 100644
--- a/arch/mips/kernel/prom.c
+++ b/arch/mips/kernel/prom.c
@@ -13,7 +13,6 @@
13#include <linux/errno.h> 13#include <linux/errno.h>
14#include <linux/types.h> 14#include <linux/types.h>
15#include <linux/bootmem.h> 15#include <linux/bootmem.h>
16#include <linux/initrd.h>
17#include <linux/debugfs.h> 16#include <linux/debugfs.h>
18#include <linux/of.h> 17#include <linux/of.h>
19#include <linux/of_fdt.h> 18#include <linux/of_fdt.h>
@@ -48,15 +47,6 @@ void * __init early_init_dt_alloc_memory_arch(u64 size, u64 align)
48 return __alloc_bootmem(size, align, __pa(MAX_DMA_ADDRESS)); 47 return __alloc_bootmem(size, align, __pa(MAX_DMA_ADDRESS));
49} 48}
50 49
51#ifdef CONFIG_BLK_DEV_INITRD
52void __init early_init_dt_setup_initrd_arch(u64 start, u64 end)
53{
54 initrd_start = (unsigned long)__va(start);
55 initrd_end = (unsigned long)__va(end);
56 initrd_below_start_ok = 1;
57}
58#endif
59
60int __init early_init_dt_scan_model(unsigned long node, const char *uname, 50int __init early_init_dt_scan_model(unsigned long node, const char *uname,
61 int depth, void *data) 51 int depth, void *data)
62{ 52{