Re: [PATCH v3 1/5] of/platform: Generalize /reserved-memory handling

2017-10-09 Thread Rob Herring
On Wed, Oct 4, 2017 at 10:32 PM, Bjorn Andersson wrote: > By iterating over all /reserved-memory child nodes and match each one to > a list of compatibles that we want to treat specially, we can easily > extend the list of compatibles to handle - without having to resort to > of_platform_populate(

[PATCH v3 1/5] of/platform: Generalize /reserved-memory handling

2017-10-04 Thread Bjorn Andersson
By iterating over all /reserved-memory child nodes and match each one to a list of compatibles that we want to treat specially, we can easily extend the list of compatibles to handle - without having to resort to of_platform_populate() that would create unnecessary platform_devices. Signed-off-by: