binman: Assume Intel descriptor is at the start of the image
authorSimon Glass <sjg@chromium.org>
Mon, 8 Jul 2019 19:18:37 +0000 (13:18 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Jul 2019 03:27:57 +0000 (20:27 -0700)
commit79a0176fae9f5273adbe486ee64e6ef0581bb3fe
tree4a6b9eeea69604c3fb25ed59a297505ca36e32ce
parent86679cefe5fd3d24ccc4dc117c9e1b107f60c937
binman: Assume Intel descriptor is at the start of the image

At present binman requires that the Intel descriptor has an explicit
offset. Generally this is 0 since the descriptor is at the start of the
image. Add a default to handle this, so users don't need to specify the
offset.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/bsection.py
tools/binman/etype/intel_descriptor.py