diff options
| author | Simon Glass <[email protected]> | 2019-07-08 14:25:42 -0600 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2019-07-24 12:54:08 -0700 |
| commit | 8a1ad068deef6228fd501992bdb347ecad9da067 (patch) | |
| tree | 3ed2dee476c0732ea17f750c024ea6a26ff140b2 /tools/binman/test | |
| parent | 69f7cb31a083c697ef0a4180a30219d2258b3662 (diff) | |
binman: Detect bad CBFS file types
Detect when an unknown or unsupported file type is specified and report
an error.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools/binman/test')
| -rw-r--r-- | tools/binman/test/126_cbfs_bad_type.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/binman/test/126_cbfs_bad_type.dts b/tools/binman/test/126_cbfs_bad_type.dts new file mode 100644 index 00000000000..2cd6fc6d52d --- /dev/null +++ b/tools/binman/test/126_cbfs_bad_type.dts @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + cbfs { + size = <0x100>; + u-boot { + cbfs-type = "badtype"; + }; + }; + }; +}; |
