aboutsummaryrefslogtreecommitdiffstats
path: root/arch/nios2/kernel/prom.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nios2/kernel/prom.c')
-rw-r--r--arch/nios2/kernel/prom.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/nios2/kernel/prom.c b/arch/nios2/kernel/prom.c
index 8d7446a4b475..ba96a498ef13 100644
--- a/arch/nios2/kernel/prom.c
+++ b/arch/nios2/kernel/prom.c
@@ -32,16 +32,6 @@
#include <asm/sections.h>
-void __init early_init_dt_add_memory_arch(u64 base, u64 size)
-{
- u64 kernel_start = (u64)virt_to_phys(_text);
-
- if (!memory_size &&
- (kernel_start >= base) && (kernel_start < (base + size)))
- memory_size = size;
-
-}
-
int __init early_init_dt_reserve_memory_arch(phys_addr_t base, phys_addr_t size,
bool nomap)
{