diff options
author | Simon Glass <sjg@chromium.org> | 2024-08-26 13:11:41 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2024-09-26 12:40:30 +0200 |
commit | b73d0bb584e5f89c8d80c7435f1a6c036be25dd9 (patch) | |
tree | e86a2fb2b27fa5896f82aabc87f5fa54ef0d23ae /tools/binman/image.py | |
parent | bce055338eabdac46d34c781753e05486898325a (diff) |
binman: Unwind the end-at-4gb special-case a little
Move the check for this further out, so that base_addr is computed in
Entry.WriteSymbols() rather than at lower levels.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/image.py')
-rw-r--r-- | tools/binman/image.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tools/binman/image.py b/tools/binman/image.py index c667f583db6..24ce0af7c72 100644 --- a/tools/binman/image.py +++ b/tools/binman/image.py @@ -404,12 +404,10 @@ class Image(section.Entry_section): optional: True if the symbol is optional. If False this function will raise if the symbol is not found msg: Message to display if an error occurs - base_addr: Base address of image. This is added to the returned - image_pos in most cases so that the returned position indicates - where the targeted entry/binary has actually been loaded. But - if end-at-4gb is used, this is not done, since the binary is - already assumed to be linked to the ROM position and using - execute-in-place (XIP). + base_addr (int): Base address of image. This is added to the + returned value of image-pos so that the returned position + indicates where the targeted entry/binary has actually been + loaded Returns: Value that should be assigned to that symbol, or None if it was |