Skip to content

Commit

Permalink
Revert "[LTD fromlist] scripts: extract_dts_includes.py: Correct LOAD…
Browse files Browse the repository at this point in the history
…_OFFSET"

This reverts commit c9579f2.

Merged upstream.

Signed-off-by: Marti Bolivar <[email protected]>
  • Loading branch information
Marti Bolivar committed Jun 21, 2017
1 parent 339f34b commit 7f0dc11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/extract_dts_includes.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,8 @@ def main():
"PARTITION", 1, 'offset')
part_base = lookup_defs(part_defs, chosen['zephyr,code-partition'],
'PARTITION_OFFSET')
load_defs['CONFIG_FLASH_LOAD_OFFSET'] = part_base
load_defs['CONFIG_FLASH_LOAD_OFFSET'] = \
hex(int(part_base, 16) - int(flash_base, 16))
load_defs['CONFIG_FLASH_LOAD_SIZE'] = \
lookup_defs(part_defs, chosen['zephyr,code-partition'],
'PARTITION_SIZE')
Expand Down

0 comments on commit 7f0dc11

Please sign in to comment.