zephyr/scripts/dts/extract
Ulf Magnusson 958e2d3229 scripts/dts: Refactor Flash code to be less twisty
- Remove DTFlash.extract(), which was just dispatching to either
   _extract_flash() or _extract_code_partition() depending on which
   magic string was passed in. Call them directly instead.

 - Fold constant and globally available parameter values into functions

 - Remove DTFlash._flash_node. It's easy to derive wherever it's needed,
   and it makes it clearer where it comes from (and means functions can
   be called in any order).

 - Remove DTFlash._flash_base_address, which is unused

 - Remove various unused parameters to functions

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-15 11:09:49 -05:00
..
__init__.py
clocks.py scripts/dts: Remove redundant empty constructors 2019-03-15 11:09:49 -05:00
compatible.py scripts/dts: Remove redundant empty constructors 2019-03-15 11:09:49 -05:00
default.py scripts/dts: Remove redundant empty constructors 2019-03-15 11:09:49 -05:00
directive.py scripts/dts: Remove redundant empty constructors 2019-03-15 11:09:49 -05:00
flash.py scripts/dts: Refactor Flash code to be less twisty 2019-03-15 11:09:49 -05:00
globals.py scripts/dts: Remove weird def_label.split('/') code 2019-03-15 11:09:49 -05:00
interrupts.py scripts/dts: Clean up/fix extract/interrupts.py a bit 2019-03-15 11:09:49 -05:00
pinctrl.py scripts/dts: Remove redundant empty constructors 2019-03-15 11:09:49 -05:00
reg.py scripts/dts: Remove weird def_label.split('/') code 2019-03-15 11:09:49 -05:00