[PATCH 0/3] nios2: switch to NO_BOOTMEM
From: Mike Rapoport
Date: Wed Jul 04 2018 - 09:18:36 EST
These patches switch nios2 boot time memory allocators from bootmem to
memblock + no_bootmem.
As nios2 uses fdt, the conversion is pretty much about actually using the
existing fdt infrastructure for the early memory management.
The first patch in the series is not strictly related to nios2. It's just
I've got really interesting memory layout without it because of 1K long
memory ranges defined in arch/nios2/boot/dts/10m50_devboard.dts.
Mike Rapoport (3):
of: ignore sub-page memory regions
nios2: use generic early_init_dt_add_memory_arch
nios2: switch to NO_BOOTMEM
arch/nios2/Kconfig | 3 +++
arch/nios2/kernel/prom.c | 17 -----------------
arch/nios2/kernel/setup.c | 39 +++++++--------------------------------
drivers/of/fdt.c | 11 ++++++-----
4 files changed, 16 insertions(+), 54 deletions(-)
--
2.7.4