[U-Boot] [PATCH 1/6] drivers: of: add support for get device address based on index

Mugunthan V N mugunthanvnm at ti.com
Sun Sep 6 12:39:18 CEST 2015


On Friday 04 September 2015 06:28 AM, Simon Glass wrote:
> Hi,
> 
> On 2 September 2015 at 05:15, Mugunthan V N <mugunthanvnm at ti.com> wrote:
>> When a device has multiple memory regions, api "dev_get_addr"
>> doesn't return the address and returns error. So implementing a
>> new api to get device address based on index.
>>
>> Signed-off-by: Mugunthan V N <mugunthanvnm at ti.com>
>> ---
>>  drivers/core/device.c | 18 ++++++++++++++++++
>>  include/dm/device.h   | 10 ++++++++++
>>  include/fdtdec.h      | 14 ++++++++++++++
>>  lib/fdtdec.c          | 35 +++++++++++++++++++++++++++++++++++
>>  4 files changed, 77 insertions(+)
> 
> I'd like to figure out Stephen Warren's patch before we look too hard
> at this one.
> 
> http://patchwork.ozlabs.org/patch/504918/
> 

The patch looks reasonable. Will test it tomorrow and repost the series
again.

Regards
Mugunthan V N



More information about the U-Boot mailing list