Re: [PATCH 2/3] nios2: use generic early_init_dt_add_memory_arch

2018-08-02 Thread Ley Foon Tan
On Wed, 2018-07-04 at 16:18 +0300, Mike Rapoport wrote: > All we have to do is to enable memblock, the generic FDT code will > take > care of the rest. > > Signed-off-by: Mike Rapoport > --- >  arch/nios2/Kconfig|  1 + >  arch/nios2/kernel/prom.c  | 10 -- >  arch/nios2/kernel/setu

[PATCH 2/3] nios2: use generic early_init_dt_add_memory_arch

2018-07-04 Thread Mike Rapoport
All we have to do is to enable memblock, the generic FDT code will take care of the rest. Signed-off-by: Mike Rapoport --- arch/nios2/Kconfig| 1 + arch/nios2/kernel/prom.c | 10 -- arch/nios2/kernel/setup.c | 2 ++ 3 files changed, 3 insertions(+), 10 deletions(-) diff --git