summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-11-02 14:08:12 -0600
committerTom Rini <[email protected]>2025-11-10 11:30:56 -0600
commit6d04828b45202312c93892b4be834809c795d4d2 (patch)
treef4438b2287c85b2479109ff4ecdff1f80ec53000 /tools
parentd3b691c9d32260a262382f464bae62ad16d82225 (diff)
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 <[email protected]>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/key2dtsi.py2
-rw-r--r--tools/patman/test_checkpatch.py6
2 files changed, 1 insertions, 7 deletions
diff --git a/tools/key2dtsi.py b/tools/key2dtsi.py
index 320ea930a97..66facc02d87 100755
--- a/tools/key2dtsi.py
+++ b/tools/key2dtsi.py
@@ -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')
diff --git a/tools/patman/test_checkpatch.py b/tools/patman/test_checkpatch.py
index 4e8d163184e..b4722330f86 100644
--- a/tools/patman/test_checkpatch.py
+++ b/tools/patman/test_checkpatch.py
@@ -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()