summaryrefslogtreecommitdiff
path: root/tools/binman/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-07-08 14:25:41 -0600
committerSimon Glass <sjg@chromium.org>2019-07-24 12:54:08 -0700
commit69f7cb31a083c697ef0a4180a30219d2258b3662 (patch)
tree939a4059b56f2fb5a91caf167412a984695b7ebe /tools/binman/test
parent52107ee4df878d26923a498b62beedbbaa5c1f7e (diff)
downloadu-boot-69f7cb31a083c697ef0a4180a30219d2258b3662.tar.gz
binman: Support FDT update for CBFS
It is useful to add the CBFS file information (offset, size, etc.) into the FDT so that the layout is complete. Add support for this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/test')
-rw-r--r--tools/binman/test/125_cbfs_update.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/binman/test/125_cbfs_update.dts b/tools/binman/test/125_cbfs_update.dts
new file mode 100644
index 0000000000..6d2e8a0b8f
--- /dev/null
+++ b/tools/binman/test/125_cbfs_update.dts
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+/dts-v1/;
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ binman {
+ cbfs {
+ size = <0x100>;
+ u-boot {
+ cbfs-type = "raw";
+ cbfs-compress = "lz4";
+ };
+ u-boot-dtb {
+ cbfs-type = "raw";
+ };
+ };
+ };
+};