summaryrefslogtreecommitdiff
path: root/tools/binman/test
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-01-19 08:46:47 -0500
committerTom Rini <[email protected]>2024-01-19 08:46:47 -0500
commitf4d54865061495bdb483f9ddc81183d1940f596c (patch)
tree203ec612e1a7b41602e5616c5f480d89caf1ff95 /tools/binman/test
parentcb493752394adec8db1d6f5e9b8fb3c43e13f10a (diff)
parent46371f269986976b3e969c0985820169b766ff76 (diff)
Merge branch '2024-01-18-assorted-fixes'
- A number of OS boot related cleanups, a number of TI platform fixes/cleanups, SMBIOS fixes, tweak get_maintainers.pl to report me for more places, fix the "clean the build" pytest and add a bootstage pytest, fix PKCS11 URI being omitted in some valid cases, make an iommu problem easier to debug on new platforms, nvme and pci improvements, refactor image-host code a bit, fix a typo in env setting, add a missing dependency for CMD_LICENSE, and correct how we call getchar() in some places.
Diffstat (limited to 'tools/binman/test')
-rw-r--r--tools/binman/test/323_ti_board_cfg_phony.dts14
-rw-r--r--tools/binman/test/yaml/config.yaml4
-rw-r--r--tools/binman/test/yaml/config_phony.yaml18
3 files changed, 34 insertions, 2 deletions
diff --git a/tools/binman/test/323_ti_board_cfg_phony.dts b/tools/binman/test/323_ti_board_cfg_phony.dts
new file mode 100644
index 00000000000..441296de4fd
--- /dev/null
+++ b/tools/binman/test/323_ti_board_cfg_phony.dts
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+
+/dts-v1/;
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ binman {
+ ti-board-config {
+ config = "yaml/config_phony.yaml";
+ schema = "yaml/schema.yaml";
+ };
+ };
+};
diff --git a/tools/binman/test/yaml/config.yaml b/tools/binman/test/yaml/config.yaml
index 5f799a6e3a9..c2be32128bb 100644
--- a/tools/binman/test/yaml/config.yaml
+++ b/tools/binman/test/yaml/config.yaml
@@ -10,9 +10,9 @@ main-branch:
b: 0
arr: [0, 0, 0, 0]
another-arr:
- - #1
+ - # 1
c: 0
d: 0
- - #2
+ - # 2
c: 0
d: 0
diff --git a/tools/binman/test/yaml/config_phony.yaml b/tools/binman/test/yaml/config_phony.yaml
new file mode 100644
index 00000000000..d76fcb3b821
--- /dev/null
+++ b/tools/binman/test/yaml/config_phony.yaml
@@ -0,0 +1,18 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# Test config
+#
+---
+
+main-branch :
+ obj :
+ a : 0x0
+ b: 0
+ arr: [0, 0, 0, 0]
+ another-arr:
+ - # 1
+ c: 0
+ d: 0
+ - # 2
+ c: 0
+ d: 0