]> git.baikalelectronics.ru Git - uboot.git/commit
spl: spl_legacy: fix invalid offset in SPL_COPY_PAYLOAD_ONLY
authorDai Okamura <okamura.dai@socionext.com>
Fri, 9 Dec 2022 11:40:21 +0000 (20:40 +0900)
committerDario Binacchi <dario.binacchi@amarulasolutions.com>
Sat, 10 Dec 2022 13:35:55 +0000 (14:35 +0100)
commit334952d380f666ad23a581b4e02cb78b80c8fc3a
tree2bad16f7baf7283e4d8af9c11ad8ef89dd217ecb
parent7f2ac507b56242dcc1ffff78bd1b3a4fbefd3bb2
spl: spl_legacy: fix invalid offset in SPL_COPY_PAYLOAD_ONLY

This fixes the header offset calculation.

This issue was found on uniphier v7 SoCs with SPL.

Fixes: f6729aceea ("spl: spl_legacy: Fix NAND boot on OMAP3 BeagleBoard")
Signed-off-by: Dai Okamura <okamura.dai@socionext.com>
Reviewed-By: Michael Trimarchi <michael@amarulasolutions.com>
Acked-by: Michael Trimarchi <michael@amarulasolutions.com>
Link: https://lore.kernel.org/all/20221209114021.3074978-1-okamura.dai@socionext.com
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
common/spl/spl_legacy.c