Re: [Xen-devel] [PATCH v7 2/8] xen/arm: make process_memory_node a device_tree_node_func

2019-08-19 Thread Julien Grall
Hi Stefano, On 8/19/19 6:43 PM, Stefano Stabellini wrote: Change the signature of process_memory_node to match device_tree_node_func. Thanks to this change, the next patch will be able to use device_tree_for_each_node to call process_memory_node on all the children of a provided node. Return

[Xen-devel] [PATCH v7 2/8] xen/arm: make process_memory_node a device_tree_node_func

2019-08-19 Thread Stefano Stabellini
Change the signature of process_memory_node to match device_tree_node_func. Thanks to this change, the next patch will be able to use device_tree_for_each_node to call process_memory_node on all the children of a provided node. Return error if there is no reg property or if nr_banks is reached.