mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 18:04:48 +00:00
binman: Rename Entry.end_4gb
The property is named end_at_4gb so name the variable the same, to avoid confusion. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
3ff97659ae
commit
91fa9d9ed2
2 changed files with 4 additions and 4 deletions
|
@ -722,7 +722,7 @@ class Entry(object):
|
|||
is_elf = self.GetDefaultFilename() == self.elf_fname
|
||||
|
||||
symbols_base = self.symbols_base
|
||||
if symbols_base is None and self.GetImage()._end_4gb:
|
||||
if symbols_base is None and self.GetImage()._end_at_4gb:
|
||||
symbols_base = 0
|
||||
|
||||
elf.LookupAndWriteSymbols(self.elf_fname, self, section.GetImage(),
|
||||
|
|
|
@ -165,7 +165,7 @@ class Entry_section(Entry):
|
|||
self._pad_byte = 0
|
||||
self._sort = False
|
||||
self._skip_at_start = None
|
||||
self._end_4gb = False
|
||||
self._end_at_4gb = False
|
||||
self._ignore_missing = False
|
||||
self._filename = None
|
||||
self.align_default = 0
|
||||
|
@ -187,9 +187,9 @@ class Entry_section(Entry):
|
|||
super().ReadNode()
|
||||
self._pad_byte = fdt_util.GetInt(self._node, 'pad-byte', 0)
|
||||
self._sort = fdt_util.GetBool(self._node, 'sort-by-offset')
|
||||
self._end_4gb = fdt_util.GetBool(self._node, 'end-at-4gb')
|
||||
self._end_at_4gb = fdt_util.GetBool(self._node, 'end-at-4gb')
|
||||
self._skip_at_start = fdt_util.GetInt(self._node, 'skip-at-start')
|
||||
if self._end_4gb:
|
||||
if self._end_at_4gb:
|
||||
if not self.size:
|
||||
self.Raise("Section size must be provided when using end-at-4gb")
|
||||
if self._skip_at_start is not None:
|
||||
|
|
Loading…
Add table
Reference in a new issue