commit | b6d68320b55c4f01f1345d11522b59396fec6bfd | [log] [tgz] |
---|---|---|
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | Mon Apr 17 17:48:00 2017 +0200 |
committer | Simon Glass <sjg@chromium.org> | Wed May 10 13:37:21 2017 -0600 |
tree | 2eac9422694876c67e6c2a5e50461dc35e649a39 | |
parent | ecf24c39ee1877225296fa08512f422b6ea39d98 [diff] |
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: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Simon Glass <sjg@chromium.org>