Re: [PATCH] powerpc: Check flat device tree version at boot

2014-08-29 Thread Rob Herring
On Fri, Aug 29, 2014 at 6:13 AM, Grant Likely wrote: > On 29 Aug 2014 02:56, "Michael Ellerman" wrote: >> >> On Thu, 2014-08-28 at 09:27 -0500, Rob Herring wrote: >> > On Thu, Aug 28, 2014 at 3:40 AM, Michael Ellerman >> > wrote: >> > > In commit e6a6928c3ea1 "of/fdt: Convert FDT functions to u

Re: [PATCH] powerpc: Check flat device tree version at boot

2014-08-29 Thread Grant Likely
On 29 Aug 2014 02:56, "Michael Ellerman" wrote: > > On Thu, 2014-08-28 at 09:27 -0500, Rob Herring wrote: > > On Thu, Aug 28, 2014 at 3:40 AM, Michael Ellerman > > wrote: > > > In commit e6a6928c3ea1 "of/fdt: Convert FDT functions to use libfdt", > > > the kernel stopped supporting old flat devi

Re: [PATCH] powerpc: Check flat device tree version at boot

2014-08-28 Thread Michael Ellerman
On Thu, 2014-08-28 at 09:27 -0500, Rob Herring wrote: > On Thu, Aug 28, 2014 at 3:40 AM, Michael Ellerman wrote: > > In commit e6a6928c3ea1 "of/fdt: Convert FDT functions to use libfdt", > > the kernel stopped supporting old flat device tree formats. The minimum > > supported version is now 0x10.

Re: [PATCH] powerpc: Check flat device tree version at boot

2014-08-28 Thread Rob Herring
On Thu, Aug 28, 2014 at 3:40 AM, Michael Ellerman wrote: > In commit e6a6928c3ea1 "of/fdt: Convert FDT functions to use libfdt", > the kernel stopped supporting old flat device tree formats. The minimum > supported version is now 0x10. Ugg. Is that something which needs to be supported? Supportin

[PATCH] powerpc: Check flat device tree version at boot

2014-08-28 Thread Michael Ellerman
In commit e6a6928c3ea1 "of/fdt: Convert FDT functions to use libfdt", the kernel stopped supporting old flat device tree formats. The minimum supported version is now 0x10. There was a checking function added, early_init_dt_verify(), but it's not called on powerpc. The result is, if you boot with