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

2020-03-29 Thread Sascha Hauer
On Wed, Mar 25, 2020 at 06:27:35PM +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 call
> of_add_memory for each found memory node. Additionally, of_add_memory
> has been modified to allow being called multiple times and correctly
> add all memory banks.
> 
> Changes v1 -> v2
>  - Reorder patches
>  - Remove legacy "memory" node handling
> 
> Clement Leger (2):
>   of: base: allow of_add_memory to be called multiple times
>   of: base: parse all available memory nodes

Applied, thanks

Sascha

-- 
Pengutronix e.K.   | |
Steuerwalder Str. 21   | http://www.pengutronix.de/  |
31137 Hildesheim, Germany  | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |

___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


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

2020-03-25 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 modified to allow being called multiple times and correctly
add all memory banks.

Changes v1 -> v2
 - Reorder patches
 - Remove legacy "memory" node handling

Clement Leger (2):
  of: base: allow of_add_memory to be called multiple times
  of: base: parse all available memory nodes

 drivers/of/base.c | 33 ++---
 1 file changed, 22 insertions(+), 11 deletions(-)

-- 
2.17.1


___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox