Skip to content
Snippets Groups Projects
Commit a0aad123 authored by Kevin Smith's avatar Kevin Smith Committed by Luka Perkov
Browse files

tools/kwbimage.c: Correct header size for SPI boot


If defined, the macro CONFIG_SYS_SPI_U_BOOT_OFFS allows a board
to specify the offset of the payload image into the kwb image
file.  This value was being used to locate the image, but was not
used in the "header size" field of the main header.  Move the
use of this macro into the function that returns the header size
so that the same value is used in all places.

Signed-off-by: default avatarKevin Smith <kevin.smith@elecsyscorp.com>
Tested-by: default avatarStefan Roese <sr@denx.de>
parent 64d16706
No related branches found
No related tags found
No related merge requests found
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