Re: [PATCH 5/8] spl: fit: Only look up FIT configuration node once

2020-12-18 Thread Simon Glass
On Tue, 15 Dec 2020 at 17:10, Alexandru Gagniuc wrote: > > The configuration node a sub node under "/configurations", which > describes the components to load from "/images". We only need to > locate this node once. > > However, for each component, spl_fit_get_image_name() would parse the > FIT im

[PATCH 5/8] spl: fit: Only look up FIT configuration node once

2020-12-15 Thread Alexandru Gagniuc
The configuration node a sub node under "/configurations", which describes the components to load from "/images". We only need to locate this node once. However, for each component, spl_fit_get_image_name() would parse the FIT image, looking for the correct node. Such work duplication is not neces