Re: [PATCH 3/3] cmd: bootefi: Honor the address & size cells properties correctly

2020-06-19 Thread Atish Patra
On Thu, Jun 18, 2020 at 11:51 PM Heinrich Schuchardt wrote: > > On 6/19/20 3:51 AM, Atish Patra wrote: > > fdtdec_get_addr_size reads the uses a fixed value for address & size > > cell properties which may not be correct always. > > > > Use the auto variant of the function which automatically

Re: [PATCH 3/3] cmd: bootefi: Honor the address & size cells properties correctly

2020-06-19 Thread Heinrich Schuchardt
On 6/19/20 3:51 AM, Atish Patra wrote: fdtdec_get_addr_size reads the uses a fixed value for address & size cell properties which may not be correct always. Use the auto variant of the function which automatically reads #address-cells & #size-cells from parent and uses to read the "reg"

[PATCH 3/3] cmd: bootefi: Honor the address & size cells properties correctly

2020-06-18 Thread Atish Patra
fdtdec_get_addr_size reads the uses a fixed value for address & size cell properties which may not be correct always. Use the auto variant of the function which automatically reads #address-cells & #size-cells from parent and uses to read the "reg" property. Signed-off-by: Atish Patra ---