diff options
author | Rob Herring <robh@kernel.org> | 2018-01-05 16:09:38 -0600 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2018-01-30 11:15:54 -0600 |
commit | 0fbc0b67a89d756ae3a839be01440e54348159a0 (patch) | |
tree | 12a7369248d6e290cc06fd5887a4f9b630094528 /arch/cris/kernel/devicetree.c | |
parent | libfdt: remove unnecessary include directive from <linux/libfdt.h> (diff) | |
download | wireguard-linux-0fbc0b67a89d756ae3a839be01440e54348159a0.tar.xz wireguard-linux-0fbc0b67a89d756ae3a839be01440e54348159a0.zip |
cris: remove arch specific early DT functions
Now that the DT core code handles bootmem arches, we can remove the cris
specific early_init_dt_alloc_memory_arch function. As the default
early_init_dt_add_memory_arch just does a WARN, we can just remove the
entire devicetree.c file.
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: linux-cris-kernel@axis.com
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'arch/cris/kernel/devicetree.c')
-rw-r--r-- | arch/cris/kernel/devicetree.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/cris/kernel/devicetree.c b/arch/cris/kernel/devicetree.c deleted file mode 100644 index 36e1c658229f..000000000000 --- a/arch/cris/kernel/devicetree.c +++ /dev/null @@ -1,15 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -#include <linux/init.h> -#include <linux/bootmem.h> -#include <linux/printk.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); -} |