Re: [PATCH 0/2] Allow parsing more than one memory node

2020-03-17 Thread Clément Leger
Hi Sam, - On 17 Mar, 2020, at 08:35, Sam Ravnborg s...@ravnborg.org wrote: > Hi Clement. > > On Mon, Mar 16, 2020 at 12:00:06PM +0100, Clement Leger wrote: >> Currently, barebox can only parse one memory node. This means that >> all other memory nodes (with device_type == "memory") will be

Re: [PATCH 0/2] Allow parsing more than one memory node

2020-03-17 Thread Sam Ravnborg
Hi Clement. On Mon, Mar 16, 2020 at 12:00:06PM +0100, Clement Leger wrote: > Currently, barebox can only parse one memory node. This means that > all other memory nodes (with device_type == "memory") will be ignored > while parsing memory. > This patchset add a function of_probe_memory which will

[PATCH 0/2] Allow parsing more than one memory node

2020-03-16 Thread Clement Leger
Currently, barebox can only parse one memory node. This means that all other memory nodes (with device_type == "memory") will be ignored while parsing memory. This patchset add a function of_probe_memory which will call of_add_memory for each found memory node. Additionally, of_add_memory has been