diff options
author | Rob Herring <robh@kernel.org> | 2018-01-05 16:10:24 -0600 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2018-01-30 11:15:54 -0600 |
commit | ac94f18f6636d45a7d78f74d2a741d038d0f8c10 (patch) | |
tree | 8895276a4513dd6f3d45b8bcc92022fe30f297ae | |
parent | 0fbc0b67a89d756ae3a839be01440e54348159a0 (diff) | |
download | op-kernel-dev-ac94f18f6636d45a7d78f74d2a741d038d0f8c10.zip op-kernel-dev-ac94f18f6636d45a7d78f74d2a741d038d0f8c10.tar.gz |
metag: remove arch specific early DT functions
Now that the DT core code handles bootmem arches, we can remove the metag
specific early_init_dt_alloc_memory_arch function. As the default
early_init_dt_add_memory_arch just does a WARN, we can remove it too.
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-metag@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r-- | arch/metag/kernel/devtree.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/metag/kernel/devtree.c b/arch/metag/kernel/devtree.c index 18dd7ae..6af749a 100644 --- a/arch/metag/kernel/devtree.c +++ b/arch/metag/kernel/devtree.c @@ -14,26 +14,12 @@ #include <linux/init.h> #include <linux/export.h> #include <linux/types.h> -#include <linux/bootmem.h> -#include <linux/memblock.h> -#include <linux/of.h> #include <linux/of_fdt.h> #include <asm/setup.h> #include <asm/page.h> #include <asm/mach/arch.h> -void __init early_init_dt_add_memory_arch(u64 base, u64 size) -{ - pr_err("%s(%llx, %llx)\n", - __func__, base, size); -} - -void * __init early_init_dt_alloc_memory_arch(u64 size, u64 align) -{ - return alloc_bootmem_align(size, align); -} - static const void * __init arch_get_next_mach(const char *const **match) { static const struct machine_desc *mdesc = __arch_info_begin; |