summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorKevin Smith <kevin.smith@elecsyscorp.com>2015-03-16 14:58:21 +0000
committerLuka Perkov <luka.perkov@sartura.hr>2015-06-14 17:48:28 +0200
commita0aad12346b2cc848b8d592067ca74cb6a1721f8 (patch)
treecc0fb889335f80d70da3ac60ece7abf9e3824d00 /Kbuild
parent64d16706a052553c85d2f8f4c741879a4e3e6116 (diff)
downloadu-boot-imx-a0aad12346b2cc848b8d592067ca74cb6a1721f8.zip
u-boot-imx-a0aad12346b2cc848b8d592067ca74cb6a1721f8.tar.gz
u-boot-imx-a0aad12346b2cc848b8d592067ca74cb6a1721f8.tar.bz2
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: Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions