binman: Take account of skip-at-start with image-header
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:56:22 +0000 (08:56 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:44 +0000 (13:57 +0800)
commit0b7ebee38e5d9167360bc756fcfb72af8badc74f
treef58135af8f05a58dad09b9b9eb2b7a60c45a6200
parent2d553c006d46653f3e0367cc5bfe36a9c7128eb5
binman: Take account of skip-at-start with image-header

The image-header currently sets it offset assuming that skip-at-start is
zero. This does not work on x86 where offsets end at 4GB. Add in this
value so that the offset is correct.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Bin Meng <bmeng.cn@gmail.com>
tools/binman/etype/image_header.py