Re: [PATCH] powernv: Search for new flash DT node location

2016-09-26 Thread Stewart Smith
Michael Ellerman writes: > Jack Miller writes: > >> On Wed, Aug 03, 2016 at 05:16:34PM +1000, Michael Ellerman wrote: >>> We could instead just search for all nodes that are compatible with >>> "ibm,opal-flash". We do that for i2c, see

Re: [PATCH] powernv: Search for new flash DT node location

2016-08-03 Thread Michael Ellerman
Jack Miller writes: > On Wed, Aug 03, 2016 at 05:16:34PM +1000, Michael Ellerman wrote: >> We could instead just search for all nodes that are compatible with >> "ibm,opal-flash". We do that for i2c, see opal_i2c_create_devs(). >> >> Is there a particular reason not to do

Re: [PATCH] powernv: Search for new flash DT node location

2016-08-03 Thread Jack Miller
On Wed, Aug 03, 2016 at 05:16:34PM +1000, Michael Ellerman wrote: > We could instead just search for all nodes that are compatible with > "ibm,opal-flash". We do that for i2c, see opal_i2c_create_devs(). > > Is there a particular reason not to do that? I'm actually surprised that this is

Re: [PATCH] powernv: Search for new flash DT node location

2016-08-03 Thread Michael Ellerman
Quoting Jack Miller (2016-08-02 06:50:35) > Skiboot will place the flash device tree node at ibm,opal/flash/flash@0 > on P9 and later systems, so Linux needs to search for it there as well > as ibm,opal/flash@0 for backwards compatibility. > > Signed-off-by: Jack Miller > --- >

Re: [PATCH] powernv: Search for new flash DT node location

2016-08-01 Thread Jack Miller
For reference, here's a link to the skiboot patch on the list https://lists.ozlabs.org/pipermail/skiboot/2016-August/004274.html ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH] powernv: Search for new flash DT node location

2016-08-01 Thread Jack Miller
Skiboot will place the flash device tree node at ibm,opal/flash/flash@0 on P9 and later systems, so Linux needs to search for it there as well as ibm,opal/flash@0 for backwards compatibility. Signed-off-by: Jack Miller --- arch/powerpc/platforms/powernv/opal.c | 7 ++- 1