Re: [PATCH 0/3] nios2: switch to NO_BOOTMEM
From: Mike Rapoport <hidden>
Date: 2018-07-30 06:14:52
Also in:
lkml
From: Mike Rapoport <hidden>
Date: 2018-07-30 06:14:52
Also in:
lkml
Any updates on this? On Wed, Jul 04, 2018 at 04:18:12PM +0300, Mike Rapoport wrote:
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
-- Sincerely yours, Mike.