dts: remove legacy macro support

The legacy macros were first deprecated in Zephyr v2.3. Now that
Zephyr v2.4 has been released, that makes two releases where these
macros have been deprecated, so it's OK to remove them.

This leaves support for legacy binding syntax in place. Removing that
is left to future work.

We need to update various pieces of documentation related to flash
partitions that never got updated when the new API was introduced.
Consolidate this information in the flash_map.h API reference page,
since that's really where users will run into it. This also gives us
the opportunity to improve this documentation.

Adjust a couple of kconfigfunctions.py and sanitycheck bits to use
non-legacy edtlib APIs.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2020-10-05 20:02:13 -07:00 committed by Maureen Helm
commit 8165008f44
37 changed files with 202 additions and 2873 deletions

View file

@ -311,31 +311,6 @@
default-not-used = <234>;
};
//
// For testing EDT.compat2enabled
//
compat2enabled {
foo-1 {
status = "okay";
compatible = "compat2enabled";
};
foo-disabled {
status = "disabled";
compatible = "compat2enabled";
};
foo-2 {
// No 'status', which is also treated as enabled
compatible = "compat2enabled";
};
// Should not create an entry in compat2enabled, since all nodes
// with the compatible are disabled
bar {
status = "disabled";
compatible = "compat2enabled-disabled";
};
};
//
// For testing 'bus:' and 'on-bus:'
//