Re: [U-Boot] [PATCH v4 04/20] SPL: FIT: factor out spl_load_fit_image()

2017-05-15 Thread Kever Yang
On 04/26/2017 08:32 AM, Andre Przywara wrote: At the moment we load two images from a FIT image: the actual U-Boot image and the .dtb file. Both times we have very similar code, that deals with alignment requirements the media we load from imposes upon us. Factor out this code into a new functi

Re: [U-Boot] [PATCH v4 04/20] SPL: FIT: factor out spl_load_fit_image()

2017-05-05 Thread Heiko Stuebner
Am Mittwoch, 26. April 2017, 01:32:36 CEST schrieb Andre Przywara: > At the moment we load two images from a FIT image: the actual U-Boot > image and the .dtb file. Both times we have very similar code, that deals > with alignment requirements the media we load from imposes upon us. > Factor out th

[U-Boot] [PATCH v4 04/20] SPL: FIT: factor out spl_load_fit_image()

2017-04-25 Thread Andre Przywara
At the moment we load two images from a FIT image: the actual U-Boot image and the .dtb file. Both times we have very similar code, that deals with alignment requirements the media we load from imposes upon us. Factor out this code into a new function, which we just call twice. Signed-off-by: Andr