From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mugunthan V N Date: Sun, 6 Sep 2015 16:09:18 +0530 Subject: [U-Boot] [PATCH 1/6] drivers: of: add support for get device address based on index In-Reply-To: References: <1441192542-28515-1-git-send-email-mugunthanvnm@ti.com> <1441192542-28515-2-git-send-email-mugunthanvnm@ti.com> Message-ID: <55EC17D6.6030309@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday 04 September 2015 06:28 AM, Simon Glass wrote: > Hi, > > On 2 September 2015 at 05:15, Mugunthan V N 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 >> --- >> 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