Re: [U-Boot] [PATCH 2/2] libfdt: return correct value if #size-cells property is not present

2019-09-04 Thread Matthias Brugger
Hi all, On 13/08/2019 11:34, Simon Glass wrote: > +Stephen Warren > > Hi Matthias, > > On Thu, 1 Aug 2019 at 05:42, Matthias Brugger wrote: >> >> Hi all, >> >> On 26/07/2019 11:13, matthias@kernel.org wrote: >>> From: Matthias Brugger >>> >>> According to the device tree specification,

Re: [U-Boot] [PATCH 2/2] libfdt: return correct value if #size-cells property is not present

2019-08-13 Thread Simon Glass
+Stephen Warren Hi Matthias, On Thu, 1 Aug 2019 at 05:42, Matthias Brugger wrote: > > Hi all, > > On 26/07/2019 11:13, matthias@kernel.org wrote: > > From: Matthias Brugger > > > > According to the device tree specification, the default value for > > was not present. > > > > This patch

Re: [U-Boot] [PATCH 2/2] libfdt: return correct value if #size-cells property is not present

2019-08-01 Thread Matthias Brugger
Hi all, On 26/07/2019 11:13, matthias@kernel.org wrote: > From: Matthias Brugger > > According to the device tree specification, the default value for > was not present. > > This patch also makes fdt_address_cells() and fdt_size_cells() conform > to the behaviour documented in libfdt.h.

[U-Boot] [PATCH 2/2] libfdt: return correct value if #size-cells property is not present

2019-07-26 Thread matthias . bgg
From: Matthias Brugger According to the device tree specification, the default value for was not present. This patch also makes fdt_address_cells() and fdt_size_cells() conform to the behaviour documented in libfdt.h. The defaults are only returned if fdt_getprop() returns -FDT_ERR_NOTFOUND,