summaryrefslogtreecommitdiff
path: root/tools/binman/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-07-17 13:25:51 -0600
committerSimon Glass <sjg@chromium.org>2018-08-01 16:30:48 -0600
commit15a587c9cec246ec69d96fce8f146e0c835b3670 (patch)
tree3ba593695af28a158b65679afeded76bf77d0534 /tools/binman/test
parent7e7c587760ca42f47d9a3b6869f39f7c309f50e1 (diff)
binman: Add a test to catch use of the old 'pos' property
This property has been changed to 'offset'. To help downstream users who might still be using 'pos', add a check that this is not used by mistake. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/test')
-rw-r--r--tools/binman/test/79_uses_pos.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/binman/test/79_uses_pos.dts b/tools/binman/test/79_uses_pos.dts
new file mode 100644
index 0000000000..7638b9b5e0
--- /dev/null
+++ b/tools/binman/test/79_uses_pos.dts
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
+/dts-v1/;
+
+/ {
+ binman {
+ u-boot {
+ pos = <10>;
+ };
+ };
+};