binman: Place Intel descriptor at image start
authorSimon Glass <sjg@chromium.org>
Sat, 20 Jul 2019 18:24:01 +0000 (12:24 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 29 Jul 2019 15:38:06 +0000 (09:38 -0600)
commit27145fd3a836173390c2d2adcd267fa3005b7fbe
treea032e5f9f46527d4652893cd8f388f3c82214384
parent95a0f3c6919e5586c23e41df46d7d41e401f13bb
binman: Place Intel descriptor at image start

The Intel descriptor must always appear at the start of an (x86) image,
so it is supposed to position itself there always. However there is no
explicit test for this. Add one and fix a bug introduced by the recent
change to adjust Entry to read the node in a separate call.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/intel_descriptor.py
tools/binman/ftest.py
tools/binman/test/141_descriptor_offset.dts [new file with mode: 0644]