summaryrefslogtreecommitdiff
path: root/tools/binman/test/102_cbfs_raw.dts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-07-08 13:18:53 -0600
committerSimon Glass <sjg@chromium.org>2019-07-24 12:53:46 -0700
commitac62fba459ad94d0d6b457a47d90628cc7b76496 (patch)
tree3987eff8a4e82e1e83955e67e6fb0e14ca6cbb5c /tools/binman/test/102_cbfs_raw.dts
parent4997a7ed05bf109b34ea0d072a33bb29209ae4ff (diff)
binman: Add support for CBFS entries
Add support for putting CBFSs (Coreboot Filesystems) in an image. This allows binman to produce firmware images used by coreboot to boot. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/test/102_cbfs_raw.dts')
-rw-r--r--tools/binman/test/102_cbfs_raw.dts20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/binman/test/102_cbfs_raw.dts b/tools/binman/test/102_cbfs_raw.dts
new file mode 100644
index 0000000000..779cbc121a
--- /dev/null
+++ b/tools/binman/test/102_cbfs_raw.dts
@@ -0,0 +1,20 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+/dts-v1/;
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ binman {
+ cbfs {
+ size = <0xb0>;
+ u-boot {
+ cbfs-type = "raw";
+ };
+ u-boot-dtb {
+ cbfs-type = "raw";
+ };
+ };
+ };
+};