From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lokesh Vutla Date: Tue, 14 Mar 2017 16:23:00 +0530 Subject: [U-Boot] [PATCH 03/17] SPL: FIT: rework U-Boot image loading In-Reply-To: <1488335129-12363-4-git-send-email-andre.przywara@arm.com> References: <1488335129-12363-1-git-send-email-andre.przywara@arm.com> <1488335129-12363-4-git-send-email-andre.przywara@arm.com> Message-ID: <0aea3b82-86ad-7017-8ca8-90c583e17440@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 Wednesday 01 March 2017 07:55 AM, Andre Przywara wrote: > Currently the SPL FIT loader always looks only for the first image in > the /images node a FIT tree, which it loads and later executes. > > Generalize this by looking for a "firmware" property in the matched > configuration subnode, or, if that does not exist, for the first string > in the "loadables" property. Then using the string in that property, > load the image of that name from the /images node. > This still loads only one image at the moment, but refactors the code to > allow extending this in a following patch. > To simplify later re-usage, we also generalize the spl_fit_select_index() > function to not return the image location, but just the node offset. > > Signed-off-by: Andre Przywara Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh