summaryrefslogtreecommitdiff
path: root/doc/sphinx/load_config.py
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2023-10-26 09:32:20 +0200
committerTom Rini <trini@konsulko.com>2023-11-17 11:58:26 -0500
commitac33a7976a5631e05fdb8f6c75be5f824dcf5229 (patch)
tree8c7cbaebf94a8ae5015b826715bb5fcc5f4fc952 /doc/sphinx/load_config.py
parente2dcadbba4ecbe5e58289996cabaf78fa62f964b (diff)
imx: spl_imx_romapi: fix emmc fast boot mode case
This fixes a regression in the eMMC fast boot mode case where the buffer was missing 464 bytes. The code figures out how many bytes must at least be fetched to honor the current read, rounds that up to the ss->pagesize [which is a no-op in the USB download case because that has ->pagesize==1], fetches that many bytes, but then recorded the original upper bound as the new end of the valid data. However, this did not take into account the rounding up to the ss->pagesize. Fix this by recording the actual bytes downloaded. Fixes: 4b4472438f5a ("imx: spl_imx_romapi: avoid tricky use of spl_load_simple_fit() to get full FIT size") Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Reviewed-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'doc/sphinx/load_config.py')
0 files changed, 0 insertions, 0 deletions