Re: [PATCH v2] of/fdt: Rework early_init_dt_scan_memory() to call directly

2021-12-15 Thread Michael Ellerman
Rob Herring writes: > On Tue, Dec 14, 2021 at 5:18 AM Michael Ellerman wrote: >> >> Rob Herring writes: >> > On Mon, Dec 13, 2021 at 6:47 AM Michael Ellerman >> > wrote: >> >> Rob Herring writes: >> >> > Use of the of_scan_flat_dt() function predates libfdt and is discouraged >> >> > as

Re: [PATCH v2] of/fdt: Rework early_init_dt_scan_memory() to call directly

2021-12-14 Thread Rob Herring
On Tue, Dec 14, 2021 at 5:18 AM Michael Ellerman wrote: > > Rob Herring writes: > > On Mon, Dec 13, 2021 at 6:47 AM Michael Ellerman > > wrote: > >> Rob Herring writes: > >> > Use of the of_scan_flat_dt() function predates libfdt and is discouraged > >> > as libfdt provides a nicer set of

Re: [PATCH v2] of/fdt: Rework early_init_dt_scan_memory() to call directly

2021-12-14 Thread Michael Ellerman
Rob Herring writes: > On Mon, Dec 13, 2021 at 6:47 AM Michael Ellerman wrote: >> Rob Herring writes: >> > Use of the of_scan_flat_dt() function predates libfdt and is discouraged >> > as libfdt provides a nicer set of APIs. Rework >> > early_init_dt_scan_memory() to be called directly and use

Re: [PATCH v2] of/fdt: Rework early_init_dt_scan_memory() to call directly

2021-12-13 Thread Rob Herring
On Mon, Dec 13, 2021 at 6:47 AM Michael Ellerman wrote: > > Rob Herring writes: > > Use of the of_scan_flat_dt() function predates libfdt and is discouraged > > as libfdt provides a nicer set of APIs. Rework > > early_init_dt_scan_memory() to be called directly and use libfdt. > ... > > diff

Re: [PATCH v2] of/fdt: Rework early_init_dt_scan_memory() to call directly

2021-12-13 Thread Michael Ellerman
Rob Herring writes: > Use of the of_scan_flat_dt() function predates libfdt and is discouraged > as libfdt provides a nicer set of APIs. Rework > early_init_dt_scan_memory() to be called directly and use libfdt. ... > diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c > index

Re: [PATCH v2] of/fdt: Rework early_init_dt_scan_memory() to call directly

2021-12-10 Thread Frank Rowand
On 12/8/21 10:58 AM, Rob Herring wrote: > Use of the of_scan_flat_dt() function predates libfdt and is discouraged > as libfdt provides a nicer set of APIs. Rework > early_init_dt_scan_memory() to be called directly and use libfdt. > > Cc: John Crispin > Cc: Thomas Bogendoerfer > Cc: Michael

[PATCH v2] of/fdt: Rework early_init_dt_scan_memory() to call directly

2021-12-08 Thread Rob Herring
Use of the of_scan_flat_dt() function predates libfdt and is discouraged as libfdt provides a nicer set of APIs. Rework early_init_dt_scan_memory() to be called directly and use libfdt. Cc: John Crispin Cc: Thomas Bogendoerfer Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras