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

2016-11-29 Thread Stefan Roese
Hi Simon, On 30.11.2016 03:35, Simon Glass wrote: On 28 November 2016 at 02:46, 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'

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

2016-11-29 Thread Simon Glass
Hi Stefan, On 28 November 2016 at 02:46, 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

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

2016-11-28 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