Skip to content

Commit 96753d7

Browse files
committed
scripts/dts: Add deprecation comments to old scripts
Makes it easier to understand what's going on. Signed-off-by: Ulf Magnusson <[email protected]>
1 parent 324a01d commit 96753d7

10 files changed

+60
-0
lines changed

scripts/dts/devicetree.py

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
# SPDX-License-Identifier: Apache-2.0
66
#
77

8+
# NOTE: This file is part of the old device tree scripts, which will be removed
9+
# later. They are kept to generate some legacy #defines via the
10+
# --deprecated-only flag.
11+
#
12+
# The new scripts are gen_defines.py, edtlib.py, and dtlib.py.
13+
814
# vim: ai:ts=4:sw=4
915

1016
import sys

scripts/dts/extract/clocks.py

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
# SPDX-License-Identifier: Apache-2.0
55
#
66

7+
# NOTE: This file is part of the old device tree scripts, which will be removed
8+
# later. They are kept to generate some legacy #defines via the
9+
# --deprecated-only flag.
10+
#
11+
# The new scripts are gen_defines.py, edtlib.py, and dtlib.py.
12+
713
from extract.globals import *
814
from extract.directive import DTDirective
915

scripts/dts/extract/compatible.py

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
# SPDX-License-Identifier: Apache-2.0
55
#
66

7+
# NOTE: This file is part of the old device tree scripts, which will be removed
8+
# later. They are kept to generate some legacy #defines via the
9+
# --deprecated-only flag.
10+
#
11+
# The new scripts are gen_defines.py, edtlib.py, and dtlib.py.
12+
713
from extract.globals import *
814
from extract.directive import DTDirective
915

scripts/dts/extract/default.py

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
# SPDX-License-Identifier: Apache-2.0
55
#
66

7+
# NOTE: This file is part of the old device tree scripts, which will be removed
8+
# later. They are kept to generate some legacy #defines via the
9+
# --deprecated-only flag.
10+
#
11+
# The new scripts are gen_defines.py, edtlib.py, and dtlib.py.
12+
713
from extract.globals import *
814
from extract.directive import DTDirective
915

scripts/dts/extract/directive.py

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
# SPDX-License-Identifier: Apache-2.0
55
#
66

7+
# NOTE: This file is part of the old device tree scripts, which will be removed
8+
# later. They are kept to generate some legacy #defines via the
9+
# --deprecated-only flag.
10+
#
11+
# The new scripts are gen_defines.py, edtlib.py, and dtlib.py.
12+
713
from .globals import *
814

915
##

scripts/dts/extract/flash.py

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
# SPDX-License-Identifier: Apache-2.0
55
#
66

7+
# NOTE: This file is part of the old device tree scripts, which will be removed
8+
# later. They are kept to generate some legacy #defines via the
9+
# --deprecated-only flag.
10+
#
11+
# The new scripts are gen_defines.py, edtlib.py, and dtlib.py.
12+
713
from extract.globals import *
814
from extract.directive import DTDirective
915

scripts/dts/extract/globals.py

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
# SPDX-License-Identifier: Apache-2.0
66
#
77

8+
# NOTE: This file is part of the old device tree scripts, which will be removed
9+
# later. They are kept to generate some legacy #defines via the
10+
# --deprecated-only flag.
11+
#
12+
# The new scripts are gen_defines.py, edtlib.py, and dtlib.py.
13+
814
import sys
915

1016
from collections import defaultdict

scripts/dts/extract/interrupts.py

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
# SPDX-License-Identifier: Apache-2.0
55
#
66

7+
# NOTE: This file is part of the old device tree scripts, which will be removed
8+
# later. They are kept to generate some legacy #defines via the
9+
# --deprecated-only flag.
10+
#
11+
# The new scripts are gen_defines.py, edtlib.py, and dtlib.py.
12+
713
from extract.globals import *
814
from extract.directive import DTDirective
915

scripts/dts/extract/reg.py

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
# SPDX-License-Identifier: Apache-2.0
55
#
66

7+
# NOTE: This file is part of the old device tree scripts, which will be removed
8+
# later. They are kept to generate some legacy #defines via the
9+
# --deprecated-only flag.
10+
#
11+
# The new scripts are gen_defines.py, edtlib.py, and dtlib.py.
12+
713
from copy import deepcopy
814

915
from extract.globals import *

scripts/dts/extract_dts_includes.py

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
# SPDX-License-Identifier: Apache-2.0
77
#
88

9+
# NOTE: This file is part of the old device tree scripts, which will be removed
10+
# later. They are kept to generate some legacy #defines via the
11+
# --deprecated-only flag.
12+
#
13+
# The new scripts are gen_defines.py, edtlib.py, and dtlib.py.
14+
915
# vim: ai:ts=4:sw=4
1016

1117
import os, fnmatch

0 commit comments

Comments
 (0)