diff options
author | Simon Glass <sjg@chromium.org> | 2018-06-01 09:38:16 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-06-07 11:25:08 -0800 |
commit | 1854695bd8af298d522fbb4bf0d8d9a3e1c6b33f (patch) | |
tree | f70de913446710661a9979595802231ec6c77932 /tools/binman/bsection.py | |
parent | badf0ec6e4c89d8ee54b96f943057efe3c253113 (diff) |
binman: Add support for sections
It is useful to be able to split an image into multiple sections,
each with its own size and position, for cases where a flash device has
read-only and read-write portions.
Add support for this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/bsection.py')
-rw-r--r-- | tools/binman/bsection.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/binman/bsection.py b/tools/binman/bsection.py index 07c72d34c43..331f806d9ab 100644 --- a/tools/binman/bsection.py +++ b/tools/binman/bsection.py @@ -201,6 +201,7 @@ class Section(object): pos = 0 prev_name = 'None' for entry in self._entries.values(): + entry.CheckPosition() if (entry.pos < self._skip_at_start or entry.pos >= self._skip_at_start + self._size): entry.Raise("Position %#x (%d) is outside the section starting " |