Skip to content
Snippets Groups Projects
Commit 798c93fa authored by Philipp Tomsich's avatar Philipp Tomsich Committed by Simon Glass
Browse files

rockchip: mkimage: rkspi: include the header sector in the SPI size calculation


Our earlier change broke the generation of SPI images, by excluding the
2K used for header0 from the size-calculation.

This commit makes sure that these are included before calculating the
required total size (including the padding from the 2K-from-every-4K
conversion).

Signed-off-by: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 3e75c07d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment