summaryrefslogtreecommitdiff
path: root/tools/binman/entry.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/binman/entry.py')
-rw-r--r--tools/binman/entry.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/binman/entry.py b/tools/binman/entry.py
index 6ce5dbdc90..77cfab9c5d 100644
--- a/tools/binman/entry.py
+++ b/tools/binman/entry.py
@@ -143,6 +143,8 @@ class Entry(object):
This reads all the fields we recognise from the node, ready for use.
"""
+ if 'pos' in self._node.props:
+ self.Raise("Please use 'offset' instead of 'pos'")
self.offset = fdt_util.GetInt(self._node, 'offset')
self.size = fdt_util.GetInt(self._node, 'size')
self.align = fdt_util.GetInt(self._node, 'align')