zephyr/scripts/dts
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
..
extract scripts/dts: Refactor Flash code to be less twisty 2019-03-15 11:09:49 -05:00
devicetree.py scripts/dts: Remove redundant and confusing dict.get() calls 2019-02-07 10:39:37 +01:00
extract_dts_includes.py scripts/dts: Refactor Flash code to be less twisty 2019-03-15 11:09:49 -05:00