Skip to content
Commit a9cd39ef authored by Simon Glass's avatar Simon Glass
Browse files

binman: Update Entry.ReadEntry() to work through classes



At present we simply extract the data directly from entries using the
image_pos information. This happens to work on current entry types, but
cannot work if the entry type encodes the data in some way. Update the
ReadData() method to provide the data by calling a new ReadChildData()
method in the parent. This allows the entry_Section class, or possibly
any other container class, to return the correct data in all cases.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 17a7421f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment