From: J, KEERTHY Date: Mon, 19 Nov 2018 10:47:22 +0530 Subject: [U-Boot] [PATCH 1/2] core: ofnode: Fix ofnode_get_addr_size_index function In-Reply-To: References: <1541396866-4425-1-git-send-email-j-keerthy@ti.com> Message-ID: <79b90f76-7400-ad9f-bdcd-529113228043@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 11/19/2018 2:59 AM, Simon Glass wrote: > Hi Keerthy, > > On Fri, 16 Nov 2018 at 17:09, Simon Glass wrote: >> >> On Tue, 13 Nov 2018 at 12:53, Simon Glass wrote: >>> >>> On 4 November 2018 at 22:47, Keerthy wrote: >>>> Currently the else part of ofnode_get_addr_size_index function >>>> does not fetch addresses based on the index but rather just >>>> returns the base address. Fix that. >>>> >>>> Signed-off-by: Keerthy >>>> --- >>>> drivers/core/ofnode.c | 13 ++++++++----- >>>> 1 file changed, 8 insertions(+), 5 deletions(-) >>> >>> Reviewed-by: Simon Glass >>> >>> This should really have a sandbox test, e.g. see >>> dm_test_fdt_remap_addr_flat,() for a test that relies on flagtree. >> >> Reviewed-by: Simon Glass > > Unfortunately this patch causes build errors with sandbox. Can you > please take a look? I skip the second patch in this series too, since > it depends on this one. Sure. Thanks for catching it. > > Regards, > Simon >