Re: [U-Boot] [PATCH v2] dm: core: Add dev_get_addr_size_index() to retrieve addr and size

2016-12-03 Thread Simon Glass
On 30 November 2016 at 22:54, Stefan Roese wrote: > Hi Simon, > > > On 01.12.2016 03:19, Simon Glass wrote: >> >> On 29 November 2016 at 23:24, Stefan Roese wrote: >>> >>> The currently available functions accessing the 'reg' property of a >>> device only retrieve the address. Sometimes its also

Re: [U-Boot] [PATCH v2] dm: core: Add dev_get_addr_size_index() to retrieve addr and size

2016-11-30 Thread Stefan Roese
Hi Simon, On 01.12.2016 03:19, Simon Glass wrote: On 29 November 2016 at 23:24, Stefan Roese wrote: The currently available functions accessing the 'reg' property of a device only retrieve the address. Sometimes its also necessary to retrieve the size described by the 'reg' property. This patc

Re: [U-Boot] [PATCH v2] dm: core: Add dev_get_addr_size_index() to retrieve addr and size

2016-11-30 Thread Simon Glass
On 29 November 2016 at 23:24, Stefan Roese wrote: > The currently available functions accessing the 'reg' property of a > device only retrieve the address. Sometimes its also necessary to > retrieve the size described by the 'reg' property. This patch adds > the new function dev_get_addr_size_inde

[U-Boot] [PATCH v2] dm: core: Add dev_get_addr_size_index() to retrieve addr and size

2016-11-29 Thread Stefan Roese
The currently available functions accessing the 'reg' property of a device only retrieve the address. Sometimes its also necessary to retrieve the size described by the 'reg' property. This patch adds the new function dev_get_addr_size_index() which retrieves both, the address and the size describe