zephyr/include/linker
Martí Bolívar 6e8775ff84 devicetree: remove DT_HAS_NODE_STATUS_OKAY
Several reviewers agreed that DT_HAS_NODE_STATUS_OKAY(...) was an
undesirable API for the following reasons:

- it's inconsistent with the rest of the DT_NODE_HAS_FOO names
- DT_NODE_HAS_FOO_BAR_BAZ(node) was agreed upon as a shorthand
  for macros which are equivalent to
  DT_NODE_HAS_FOO(node) && DT_NODE_HAS_BAR(node) &&
- DT_NODE_HAS_BAZ(node), and DT_HAS_NODE_STATUS_OKAY is an odd duck
- DT_NODE_HAS_STATUS(..., okay) was viewed as more readable anyway
- it is seen as a somewhat aesthetically challenged name

Replace all users with DT_NODE_HAS_STATUS(..., okay), which is
semantically equivalent.

This is mostly done with sed, but a few remaining cases were done by
hand, along with whitespace, docs, and comment changes. These special
cases include the Nordic SOC static assert files.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-05-13 18:24:42 +02:00
..
app_smem.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
app_smem_aligned.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
app_smem_unaligned.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
common-ram.ld device: Refactor device structures 2020-05-08 23:07:44 +02:00
common-rom.ld device: Refactor device structures 2020-05-08 23:07:44 +02:00
cplusplus-ram.ld linker: cxx: Include .gcc_except_table sections 2019-09-19 09:26:42 -05:00
cplusplus-rom.ld linker: cxx: Include .gcc_except_table sections 2019-09-19 09:26:42 -05:00
debug-sections.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
intlist.ld gen_isr_tables: Delete the dead code accompanying .intList.num_isrs 2018-06-25 12:54:49 -07:00
kobject-rom.ld kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
kobject-text.ld linker: kobject-text.ld: avoid backwards location counter 2019-05-23 06:59:14 -04:00
kobject.ld kernel: delete separate logic for priv stacks 2020-03-17 20:11:27 +02:00
linker-defs.h devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00
linker-tool-gcc.h arch: arm64: Support aarch64-gcc compiler 2020-02-01 08:08:43 -05:00
linker-tool.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
rel-sections.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
section_tags.h linker: Clean up section name definitions 2020-04-30 13:42:36 -04:00
sections.h linker: Clean up section name definitions 2020-04-30 13:42:36 -04:00