dm: Remove pre-schema tag support

Support for using "u-boot,dm-..." rather than "bootph-..." has been
deprecated since February 2023. Any platforms using this have had a
console message saying to migrate by 2023.07. Go and remove all support
here now, for the v2026.01 release.

The results of this change that aren't clear from the above are that we
still have a checkpatch.pl error message, and document in
doc/develop/spl.rst that they have been migrated since 2023. We also
change the key2dtsi.py tool to use the correct bootph phase rather than
the legacy phase.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2025-11-02 14:08:12 -06:00
parent d3b691c9d3
commit 6d04828b45
19 changed files with 4 additions and 183 deletions

View File

@@ -59,7 +59,7 @@ if args.required_conf:
elif args.required_image:
out.write('\t\t\trequired = "image";\n')
if args.spl:
out.write('\t\t\tu-boot,dm-spl;\n')
out.write('\t\t\tbootph-pre-ram;\n')
out.write('\t\t};\n')
out.write('\t};\n')
out.write('};\n')

View File

@@ -522,11 +522,5 @@ index 0000000..2234c87
self.check_strl("cat");
self.check_strl("cpy");
def test_schema(self):
"""Check for uses of strn(cat|cpy)"""
pm = PatchMaker()
pm.add_line('arch/sandbox/dts/sandbox.dtsi', '\tu-boot,dm-pre-proper;')
self.check_single_message(pm, 'PRE_SCHEMA', 'error')
if __name__ == "__main__":
unittest.main()