[U-Boot] [PATCH v1 1/8] rockchip: mkimage: rkspi: include the header sector in the SPI size calculation

Simon Glass sjg at chromium.org
Tue Apr 18 04:00:21 UTC 2017


On 17 April 2017 at 09:48, Philipp Tomsich <
philipp.tomsich at theobroma-systems.com> wrote:
>
> 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 at theobroma-systems.com>
> ---
>
> tools/rkspi.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list