mbox series

[0/7] DT: consolidate bootmem support

Message ID 20180105232054.27394-1-robh@kernel.org
Headers show
Series DT: consolidate bootmem support | expand

Message

Rob Herring Jan. 5, 2018, 11:20 p.m. UTC
This series adds support for bootmem to the DT core code and removes the
remaining arch specific early_init_dt_alloc_memory_arch implementations.

Compile tested only on arm64, mips, x86, and xtensa.

Rob

Rob Herring (7):
  of/fdt: use memblock_virt_alloc for early alloc
  cris: remove arch specific early DT functions
  metag: remove arch specific early DT functions
  mips: remove arch specific early_init_dt_alloc_memory_arch
  nios2: remove arch specific early_init_dt_alloc_memory_arch
  x86: remove arch specific early_init_dt_alloc_memory_arch
  xtensa: remove arch specific early DT functions

 arch/cris/kernel/Makefile     | 19 -------------------
 arch/cris/kernel/devicetree.c | 15 ---------------
 arch/metag/kernel/devtree.c   | 14 --------------
 arch/mips/kernel/prom.c       |  5 -----
 arch/nios2/kernel/prom.c      |  5 -----
 arch/x86/kernel/devicetree.c  |  6 ------
 arch/xtensa/kernel/setup.c    | 12 ------------
 drivers/of/fdt.c              | 16 ++++------------
 drivers/of/unittest.c         | 11 ++++++++---
 include/linux/of_fdt.h        |  1 -
 10 files changed, 12 insertions(+), 92 deletions(-)
 delete mode 100644 arch/cris/kernel/devicetree.c

--
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Tobias Klauser Jan. 17, 2018, 11 a.m. UTC | #1
On 2018-01-06 at 00:20:52 +0100, Rob Herring <robh@kernel.org> wrote:
> Now that the DT core code handles bootmem arches, we can remove the nios2

> specific early_init_dt_alloc_memory_arch function.

> 

> Cc: Ley Foon Tan <lftan@altera.com>

> Cc: nios2-dev@lists.rocketboards.org

> Signed-off-by: Rob Herring <robh@kernel.org>


Reviewed-by: Tobias Klauser <tklauser@distanz.ch>

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html