Re: [PATCH v3 1/8] spl: fit: Drop 'length' argument to board_spl_fit_post_load()

2021-01-18 Thread Tom Rini
On Mon, Jan 18, 2021 at 10:28:45AM -0600, Alex G. wrote: > On 1/15/21 8:33 PM, Tom Rini wrote: > > On Wed, Dec 23, 2020 at 08:44:05AM -0600, Alexandru Gagniuc wrote: > > > > > The size is derived from the FIT image itself. Any alignment > > > requirements are machine-specific and known by the boar

Re: [PATCH v3 1/8] spl: fit: Drop 'length' argument to board_spl_fit_post_load()

2021-01-18 Thread Alex G.
On 1/15/21 8:33 PM, Tom Rini wrote: On Wed, Dec 23, 2020 at 08:44:05AM -0600, Alexandru Gagniuc wrote: The size is derived from the FIT image itself. Any alignment requirements are machine-specific and known by the board code. Thus the total length can be derived from the FIT image and knowledg

Re: [PATCH v3 1/8] spl: fit: Drop 'length' argument to board_spl_fit_post_load()

2021-01-15 Thread Tom Rini
On Wed, Dec 23, 2020 at 08:44:05AM -0600, Alexandru Gagniuc wrote: > The size is derived from the FIT image itself. Any alignment > requirements are machine-specific and known by the board code. Thus > the total length can be derived from the FIT image and knowledge of > the platform. The 'length'

[PATCH v3 1/8] spl: fit: Drop 'length' argument to board_spl_fit_post_load()

2020-12-23 Thread Alexandru Gagniuc
The size is derived from the FIT image itself. Any alignment requirements are machine-specific and known by the board code. Thus the total length can be derived from the FIT image and knowledge of the platform. The 'length' argument is redundant. Remove it. Signed-off-by: Alexandru Gagniuc Review