binman: Correct calculation for image-pos
authorSimon Glass <sjg@chromium.org>
Mon, 2 Nov 2020 19:55:44 +0000 (12:55 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 5 Nov 2020 16:11:31 +0000 (09:11 -0700)
commit08594d49860c335f39d4f7797cac766ac8b57c56
tree0740407075d8770e02abe3edd17316fd6e815c26
parent271a08380634f2def4a6b148187cce6693e878a5
binman: Correct calculation for image-pos

A recent change removed the base offset from the calculation. This is
used on coral to find the FSP-S binary. Fix it.

Fixes: a9fad07d4b8 ("binman: Avoid reporting image-pos with compression")

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