sim: Add size estimate to TLV
In order to generate images that match exact sizes, we need to know the
size of the TLV. We can estimate this size before the payload is added
(since the payload doesn't directly affect the size).
This patch adds the size estimate, and compares it with the actual TLV
size.
Signed-off-by:
David Brown <david.brown@linaro.org>
Loading
Please sign in to comment