Dai Okamura fda2253d12 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: 06377c5a1f ("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>
2022-12-10 14:35:55 +01:00
..
2022-10-31 11:02:44 -04:00
2022-07-26 02:30:56 -06:00
2022-01-19 18:11:34 +01:00
2022-11-02 08:42:03 +01:00
2022-01-19 18:11:34 +01:00
2022-10-31 14:47:32 -04:00
2022-10-30 20:07:17 +01:00
2022-08-04 16:18:47 -04:00
2022-01-19 18:11:34 +01:00
2022-10-31 11:04:00 -04:00
2022-10-30 20:07:17 +01:00
2021-04-12 17:44:55 -04:00
2021-04-20 07:31:12 -04:00
2022-08-04 16:18:47 -04:00