spl: fit: Drop 'length' argument to board_spl_fit_post_load()
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Wed, 20 Jan 2021 16:46:49 +0000 (10:46 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 17 Feb 2021 22:12:45 +0000 (17:12 -0500)
commitefc4ad0bc763f135f3437f51df693e83941a9928
treecedd7ce0eb3b68f24d0c8c1b713ef00e40d8b0a3
parent496f49464d90b564da5f1a2f4eecb5553e01edf9
spl: fit: Drop 'length' argument to board_spl_fit_post_load()

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 <mr.nuke.me@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
CC: Matt Porter <mporter@konsulko.com>
arch/arm/mach-imx/spl.c
common/spl/spl_fit.c
include/spl.h