From 90a2b8c53d152dc5593f6dfdd8925ebd1ccfb830 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 6 Mar 2026 11:12:41 -0700 Subject: binman: test: Move UEFI capsule test files to test/capsule/ Move about a dozen test files for UEFI capsule creation (signed, versioned, accept, revert) into a capsule/ subdirectory. Drop the numeric prefixes and the redundant capsule_ filename prefix, and update all references. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz --- tools/binman/ftest.py | 30 +++++++++++----------- tools/binman/test/311_capsule.dts | 18 ------------- tools/binman/test/312_capsule_signed.dts | 20 --------------- tools/binman/test/313_capsule_version.dts | 19 -------------- tools/binman/test/314_capsule_signed_ver.dts | 21 --------------- tools/binman/test/315_capsule_oemflags.dts | 19 -------------- tools/binman/test/316_capsule_missing_key.dts | 19 -------------- tools/binman/test/317_capsule_missing_index.dts | 17 ------------ tools/binman/test/318_capsule_missing_guid.dts | 16 ------------ tools/binman/test/319_capsule_accept.dts | 13 ---------- tools/binman/test/320_capsule_revert.dts | 11 -------- .../test/321_capsule_accept_missing_guid.dts | 11 -------- .../binman/test/322_empty_capsule_type_missing.dts | 12 --------- .../test/323_capsule_accept_revert_missing.dts | 13 ---------- tools/binman/test/capsule/accept.dts | 13 ++++++++++ tools/binman/test/capsule/accept_missing_guid.dts | 11 ++++++++ .../binman/test/capsule/accept_revert_missing.dts | 13 ++++++++++ tools/binman/test/capsule/capsule.dts | 18 +++++++++++++ tools/binman/test/capsule/empty_type_missing.dts | 12 +++++++++ tools/binman/test/capsule/missing_guid.dts | 16 ++++++++++++ tools/binman/test/capsule/missing_index.dts | 17 ++++++++++++ tools/binman/test/capsule/missing_key.dts | 19 ++++++++++++++ tools/binman/test/capsule/oemflags.dts | 19 ++++++++++++++ tools/binman/test/capsule/revert.dts | 11 ++++++++ tools/binman/test/capsule/signed.dts | 20 +++++++++++++++ tools/binman/test/capsule/signed_ver.dts | 21 +++++++++++++++ tools/binman/test/capsule/version.dts | 19 ++++++++++++++ 27 files changed, 224 insertions(+), 224 deletions(-) delete mode 100644 tools/binman/test/311_capsule.dts delete mode 100644 tools/binman/test/312_capsule_signed.dts delete mode 100644 tools/binman/test/313_capsule_version.dts delete mode 100644 tools/binman/test/314_capsule_signed_ver.dts delete mode 100644 tools/binman/test/315_capsule_oemflags.dts delete mode 100644 tools/binman/test/316_capsule_missing_key.dts delete mode 100644 tools/binman/test/317_capsule_missing_index.dts delete mode 100644 tools/binman/test/318_capsule_missing_guid.dts delete mode 100644 tools/binman/test/319_capsule_accept.dts delete mode 100644 tools/binman/test/320_capsule_revert.dts delete mode 100644 tools/binman/test/321_capsule_accept_missing_guid.dts delete mode 100644 tools/binman/test/322_empty_capsule_type_missing.dts delete mode 100644 tools/binman/test/323_capsule_accept_revert_missing.dts create mode 100644 tools/binman/test/capsule/accept.dts create mode 100644 tools/binman/test/capsule/accept_missing_guid.dts create mode 100644 tools/binman/test/capsule/accept_revert_missing.dts create mode 100644 tools/binman/test/capsule/capsule.dts create mode 100644 tools/binman/test/capsule/empty_type_missing.dts create mode 100644 tools/binman/test/capsule/missing_guid.dts create mode 100644 tools/binman/test/capsule/missing_index.dts create mode 100644 tools/binman/test/capsule/missing_key.dts create mode 100644 tools/binman/test/capsule/oemflags.dts create mode 100644 tools/binman/test/capsule/revert.dts create mode 100644 tools/binman/test/capsule/signed.dts create mode 100644 tools/binman/test/capsule/signed_ver.dts create mode 100644 tools/binman/test/capsule/version.dts (limited to 'tools') diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py index 1e83e6140b4..43292941576 100644 --- a/tools/binman/ftest.py +++ b/tools/binman/ftest.py @@ -7517,7 +7517,7 @@ fdt fdtmap Extract the devicetree blob from the fdtmap def testCapsuleGen(self): """Test generation of EFI capsule""" - data = self._DoReadFile('311_capsule.dts') + data = self._DoReadFile('capsule/capsule.dts') self._CheckCapsule(data) @@ -7528,13 +7528,13 @@ fdt fdtmap Extract the devicetree blob from the fdtmap data = tools.read_file(self.TestFile("key.pem")) self._MakeInputFile("key.crt", data) - data = self._DoReadFile('312_capsule_signed.dts') + data = self._DoReadFile('capsule/signed.dts') self._CheckCapsule(data, signed_capsule=True) def testCapsuleGenVersionSupport(self): """Test generation of EFI capsule with version support""" - data = self._DoReadFile('313_capsule_version.dts') + data = self._DoReadFile('capsule/version.dts') self._CheckCapsule(data, version_check=True) @@ -7545,20 +7545,20 @@ fdt fdtmap Extract the devicetree blob from the fdtmap data = tools.read_file(self.TestFile("key.pem")) self._MakeInputFile("key.crt", data) - data = self._DoReadFile('314_capsule_signed_ver.dts') + data = self._DoReadFile('capsule/signed_ver.dts') self._CheckCapsule(data, signed_capsule=True, version_check=True) def testCapsuleGenCapOemFlags(self): """Test generation of EFI capsule with OEM Flags set""" - data = self._DoReadFile('315_capsule_oemflags.dts') + data = self._DoReadFile('capsule/oemflags.dts') self._CheckCapsule(data, capoemflags=True) def testCapsuleGenKeyMissing(self): """Test that binman errors out on missing key""" with self.assertRaises(ValueError) as e: - self._DoReadFile('316_capsule_missing_key.dts') + self._DoReadFile('capsule/missing_key.dts') self.assertIn("Both private key and public key certificate need to be provided", str(e.exception)) @@ -7566,7 +7566,7 @@ fdt fdtmap Extract the devicetree blob from the fdtmap def testCapsuleGenIndexMissing(self): """Test that binman errors out on missing image index""" with self.assertRaises(ValueError) as e: - self._DoReadFile('317_capsule_missing_index.dts') + self._DoReadFile('capsule/missing_index.dts') self.assertIn("entry is missing properties: image-index", str(e.exception)) @@ -7574,27 +7574,27 @@ fdt fdtmap Extract the devicetree blob from the fdtmap def testCapsuleGenGuidMissing(self): """Test that binman errors out on missing image GUID""" with self.assertRaises(ValueError) as e: - self._DoReadFile('318_capsule_missing_guid.dts') + self._DoReadFile('capsule/missing_guid.dts') self.assertIn("entry is missing properties: image-guid", str(e.exception)) def testCapsuleGenAcceptCapsule(self): """Test generationg of accept EFI capsule""" - data = self._DoReadFile('319_capsule_accept.dts') + data = self._DoReadFile('capsule/accept.dts') self._CheckEmptyCapsule(data, accept_capsule=True) def testCapsuleGenRevertCapsule(self): """Test generationg of revert EFI capsule""" - data = self._DoReadFile('320_capsule_revert.dts') + data = self._DoReadFile('capsule/revert.dts') self._CheckEmptyCapsule(data) def testCapsuleGenAcceptGuidMissing(self): """Test that binman errors out on missing image GUID for accept capsule""" with self.assertRaises(ValueError) as e: - self._DoReadFile('321_capsule_accept_missing_guid.dts') + self._DoReadFile('capsule/accept_missing_guid.dts') self.assertIn("Image GUID needed for generating accept capsule", str(e.exception)) @@ -7602,7 +7602,7 @@ fdt fdtmap Extract the devicetree blob from the fdtmap def testCapsuleGenEmptyCapsuleTypeMissing(self): """Test that capsule-type is specified""" with self.assertRaises(ValueError) as e: - self._DoReadFile('322_empty_capsule_type_missing.dts') + self._DoReadFile('capsule/empty_type_missing.dts') self.assertIn("entry is missing properties: capsule-type", str(e.exception)) @@ -7610,7 +7610,7 @@ fdt fdtmap Extract the devicetree blob from the fdtmap def testCapsuleGenAcceptOrRevertMissing(self): """Test that both accept and revert capsule are not specified""" with self.assertRaises(ValueError) as e: - self._DoReadFile('323_capsule_accept_revert_missing.dts') + self._DoReadFile('capsule/accept_revert_missing.dts') def test_assume_size(self): """Test handling of the assume-size property for external blob""" @@ -7857,7 +7857,7 @@ fdt fdtmap Extract the devicetree blob from the fdtmap def testMkeficapsuleMissing(self): """Test that binman complains if mkeficapsule is missing""" with self.assertRaises(ValueError) as e: - self._DoTestFile('311_capsule.dts', + self._DoTestFile('capsule/capsule.dts', force_missing_bintools='mkeficapsule') self.assertIn("Node '/binman/efi-capsule': Missing tool: 'mkeficapsule'", str(e.exception)) @@ -7865,7 +7865,7 @@ fdt fdtmap Extract the devicetree blob from the fdtmap def testMkeficapsuleMissingOk(self): """Test that binman deals with mkeficapsule being missing""" with terminal.capture() as (stdout, stderr): - ret = self._DoTestFile('311_capsule.dts', + ret = self._DoTestFile('capsule/capsule.dts', force_missing_bintools='mkeficapsule', allow_missing=True) self.assertEqual(103, ret) diff --git a/tools/binman/test/311_capsule.dts b/tools/binman/test/311_capsule.dts deleted file mode 100644 index 0a62ef81dd2..00000000000 --- a/tools/binman/test/311_capsule.dts +++ /dev/null @@ -1,18 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ - -/dts-v1/; - -/ { - binman { - efi-capsule { - image-index = <0x1>; - /* Image GUID for testing capsule update */ - image-guid = "binman-test"; - hardware-instance = <0x0>; - - blob { - filename = "capsule_input.bin"; - }; - }; - }; -}; diff --git a/tools/binman/test/312_capsule_signed.dts b/tools/binman/test/312_capsule_signed.dts deleted file mode 100644 index 4ab838efedd..00000000000 --- a/tools/binman/test/312_capsule_signed.dts +++ /dev/null @@ -1,20 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ - -/dts-v1/; - -/ { - binman { - efi-capsule { - image-index = <0x1>; - /* Image GUID for testing capsule update */ - image-guid = "binman-test"; - hardware-instance = <0x0>; - private-key = "key.key"; - public-key-cert = "key.crt"; - - blob { - filename = "capsule_input.bin"; - }; - }; - }; -}; diff --git a/tools/binman/test/313_capsule_version.dts b/tools/binman/test/313_capsule_version.dts deleted file mode 100644 index 19e7e833480..00000000000 --- a/tools/binman/test/313_capsule_version.dts +++ /dev/null @@ -1,19 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ - -/dts-v1/; - -/ { - binman { - efi-capsule { - image-index = <0x1>; - fw-version = <0x2>; - /* Image GUID for testing capsule update */ - image-guid = "binman-test"; - hardware-instance = <0x0>; - - blob { - filename = "capsule_input.bin"; - }; - }; - }; -}; diff --git a/tools/binman/test/314_capsule_signed_ver.dts b/tools/binman/test/314_capsule_signed_ver.dts deleted file mode 100644 index 649b8ccb2df..00000000000 --- a/tools/binman/test/314_capsule_signed_ver.dts +++ /dev/null @@ -1,21 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ - -/dts-v1/; - -/ { - binman { - efi-capsule { - image-index = <0x1>; - fw-version = <0x2>; - /* Image GUID for testing capsule update */ - image-guid = "binman-test"; - hardware-instance = <0x0>; - private-key = "key.key"; - public-key-cert = "key.crt"; - - blob { - filename = "capsule_input.bin"; - }; - }; - }; -}; diff --git a/tools/binman/test/315_capsule_oemflags.dts b/tools/binman/test/315_capsule_oemflags.dts deleted file mode 100644 index 45853f69c31..00000000000 --- a/tools/binman/test/315_capsule_oemflags.dts +++ /dev/null @@ -1,19 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ - -/dts-v1/; - -/ { - binman { - efi-capsule { - image-index = <0x1>; - /* Image GUID for testing capsule update */ - image-guid = "binman-test"; - hardware-instance = <0x0>; - oem-flags = <0x8000>; - - blob { - filename = "capsule_input.bin"; - }; - }; - }; -}; diff --git a/tools/binman/test/316_capsule_missing_key.dts b/tools/binman/test/316_capsule_missing_key.dts deleted file mode 100644 index a14a74ee779..00000000000 --- a/tools/binman/test/316_capsule_missing_key.dts +++ /dev/null @@ -1,19 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ - -/dts-v1/; - -/ { - binman { - efi-capsule { - image-index = <0x1>; - /* Image GUID for testing capsule update */ - image-guid = "binman-test"; - hardware-instance = <0x0>; - private-key = "tools/binman/test/key.key"; - - blob { - filename = "capsule_input.bin"; - }; - }; - }; -}; diff --git a/tools/binman/test/317_capsule_missing_index.dts b/tools/binman/test/317_capsule_missing_index.dts deleted file mode 100644 index 99a54d55c33..00000000000 --- a/tools/binman/test/317_capsule_missing_index.dts +++ /dev/null @@ -1,17 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ - -/dts-v1/; - -/ { - binman { - efi-capsule { - /* Image GUID for testing capsule update */ - image-guid = "binman-test"; - hardware-instance = <0x0>; - - blob { - filename = "capsule_input.bin"; - }; - }; - }; -}; diff --git a/tools/binman/test/318_capsule_missing_guid.dts b/tools/binman/test/318_capsule_missing_guid.dts deleted file mode 100644 index 85d3317ecb5..00000000000 --- a/tools/binman/test/318_capsule_missing_guid.dts +++ /dev/null @@ -1,16 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ - -/dts-v1/; - -/ { - binman { - efi-capsule { - image-index = <0x1>; - hardware-instance = <0x0>; - - blob { - filename = "capsule_input.bin"; - }; - }; - }; -}; diff --git a/tools/binman/test/319_capsule_accept.dts b/tools/binman/test/319_capsule_accept.dts deleted file mode 100644 index d48e59f859b..00000000000 --- a/tools/binman/test/319_capsule_accept.dts +++ /dev/null @@ -1,13 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ - -/dts-v1/; - -/ { - binman { - efi-empty-capsule { - /* Image GUID for testing capsule update */ - image-guid = "binman-test"; - capsule-type = "accept"; - }; - }; -}; diff --git a/tools/binman/test/320_capsule_revert.dts b/tools/binman/test/320_capsule_revert.dts deleted file mode 100644 index bd141ef2924..00000000000 --- a/tools/binman/test/320_capsule_revert.dts +++ /dev/null @@ -1,11 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ - -/dts-v1/; - -/ { - binman { - efi-empty-capsule { - capsule-type = "revert"; - }; - }; -}; diff --git a/tools/binman/test/321_capsule_accept_missing_guid.dts b/tools/binman/test/321_capsule_accept_missing_guid.dts deleted file mode 100644 index a0088b174c5..00000000000 --- a/tools/binman/test/321_capsule_accept_missing_guid.dts +++ /dev/null @@ -1,11 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ - -/dts-v1/; - -/ { - binman { - efi-empty-capsule { - capsule-type = "accept"; - }; - }; -}; diff --git a/tools/binman/test/322_empty_capsule_type_missing.dts b/tools/binman/test/322_empty_capsule_type_missing.dts deleted file mode 100644 index d356168e775..00000000000 --- a/tools/binman/test/322_empty_capsule_type_missing.dts +++ /dev/null @@ -1,12 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ - -/dts-v1/; - -/ { - binman { - efi-empty-capsule { - /* Image GUID for testing capsule update */ - image-guid = "binman-test"; - }; - }; -}; diff --git a/tools/binman/test/323_capsule_accept_revert_missing.dts b/tools/binman/test/323_capsule_accept_revert_missing.dts deleted file mode 100644 index 31268b20b88..00000000000 --- a/tools/binman/test/323_capsule_accept_revert_missing.dts +++ /dev/null @@ -1,13 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ - -/dts-v1/; - -/ { - binman { - efi-empty-capsule { - /* Image GUID for testing capsule update */ - image-guid = "binman-test"; - capsule-type = "foo"; - }; - }; -}; diff --git a/tools/binman/test/capsule/accept.dts b/tools/binman/test/capsule/accept.dts new file mode 100644 index 00000000000..d48e59f859b --- /dev/null +++ b/tools/binman/test/capsule/accept.dts @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + binman { + efi-empty-capsule { + /* Image GUID for testing capsule update */ + image-guid = "binman-test"; + capsule-type = "accept"; + }; + }; +}; diff --git a/tools/binman/test/capsule/accept_missing_guid.dts b/tools/binman/test/capsule/accept_missing_guid.dts new file mode 100644 index 00000000000..a0088b174c5 --- /dev/null +++ b/tools/binman/test/capsule/accept_missing_guid.dts @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + binman { + efi-empty-capsule { + capsule-type = "accept"; + }; + }; +}; diff --git a/tools/binman/test/capsule/accept_revert_missing.dts b/tools/binman/test/capsule/accept_revert_missing.dts new file mode 100644 index 00000000000..31268b20b88 --- /dev/null +++ b/tools/binman/test/capsule/accept_revert_missing.dts @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + binman { + efi-empty-capsule { + /* Image GUID for testing capsule update */ + image-guid = "binman-test"; + capsule-type = "foo"; + }; + }; +}; diff --git a/tools/binman/test/capsule/capsule.dts b/tools/binman/test/capsule/capsule.dts new file mode 100644 index 00000000000..0a62ef81dd2 --- /dev/null +++ b/tools/binman/test/capsule/capsule.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + binman { + efi-capsule { + image-index = <0x1>; + /* Image GUID for testing capsule update */ + image-guid = "binman-test"; + hardware-instance = <0x0>; + + blob { + filename = "capsule_input.bin"; + }; + }; + }; +}; diff --git a/tools/binman/test/capsule/empty_type_missing.dts b/tools/binman/test/capsule/empty_type_missing.dts new file mode 100644 index 00000000000..d356168e775 --- /dev/null +++ b/tools/binman/test/capsule/empty_type_missing.dts @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + binman { + efi-empty-capsule { + /* Image GUID for testing capsule update */ + image-guid = "binman-test"; + }; + }; +}; diff --git a/tools/binman/test/capsule/missing_guid.dts b/tools/binman/test/capsule/missing_guid.dts new file mode 100644 index 00000000000..85d3317ecb5 --- /dev/null +++ b/tools/binman/test/capsule/missing_guid.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + binman { + efi-capsule { + image-index = <0x1>; + hardware-instance = <0x0>; + + blob { + filename = "capsule_input.bin"; + }; + }; + }; +}; diff --git a/tools/binman/test/capsule/missing_index.dts b/tools/binman/test/capsule/missing_index.dts new file mode 100644 index 00000000000..99a54d55c33 --- /dev/null +++ b/tools/binman/test/capsule/missing_index.dts @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + binman { + efi-capsule { + /* Image GUID for testing capsule update */ + image-guid = "binman-test"; + hardware-instance = <0x0>; + + blob { + filename = "capsule_input.bin"; + }; + }; + }; +}; diff --git a/tools/binman/test/capsule/missing_key.dts b/tools/binman/test/capsule/missing_key.dts new file mode 100644 index 00000000000..a14a74ee779 --- /dev/null +++ b/tools/binman/test/capsule/missing_key.dts @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + binman { + efi-capsule { + image-index = <0x1>; + /* Image GUID for testing capsule update */ + image-guid = "binman-test"; + hardware-instance = <0x0>; + private-key = "tools/binman/test/key.key"; + + blob { + filename = "capsule_input.bin"; + }; + }; + }; +}; diff --git a/tools/binman/test/capsule/oemflags.dts b/tools/binman/test/capsule/oemflags.dts new file mode 100644 index 00000000000..45853f69c31 --- /dev/null +++ b/tools/binman/test/capsule/oemflags.dts @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + binman { + efi-capsule { + image-index = <0x1>; + /* Image GUID for testing capsule update */ + image-guid = "binman-test"; + hardware-instance = <0x0>; + oem-flags = <0x8000>; + + blob { + filename = "capsule_input.bin"; + }; + }; + }; +}; diff --git a/tools/binman/test/capsule/revert.dts b/tools/binman/test/capsule/revert.dts new file mode 100644 index 00000000000..bd141ef2924 --- /dev/null +++ b/tools/binman/test/capsule/revert.dts @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + binman { + efi-empty-capsule { + capsule-type = "revert"; + }; + }; +}; diff --git a/tools/binman/test/capsule/signed.dts b/tools/binman/test/capsule/signed.dts new file mode 100644 index 00000000000..4ab838efedd --- /dev/null +++ b/tools/binman/test/capsule/signed.dts @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + binman { + efi-capsule { + image-index = <0x1>; + /* Image GUID for testing capsule update */ + image-guid = "binman-test"; + hardware-instance = <0x0>; + private-key = "key.key"; + public-key-cert = "key.crt"; + + blob { + filename = "capsule_input.bin"; + }; + }; + }; +}; diff --git a/tools/binman/test/capsule/signed_ver.dts b/tools/binman/test/capsule/signed_ver.dts new file mode 100644 index 00000000000..649b8ccb2df --- /dev/null +++ b/tools/binman/test/capsule/signed_ver.dts @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + binman { + efi-capsule { + image-index = <0x1>; + fw-version = <0x2>; + /* Image GUID for testing capsule update */ + image-guid = "binman-test"; + hardware-instance = <0x0>; + private-key = "key.key"; + public-key-cert = "key.crt"; + + blob { + filename = "capsule_input.bin"; + }; + }; + }; +}; diff --git a/tools/binman/test/capsule/version.dts b/tools/binman/test/capsule/version.dts new file mode 100644 index 00000000000..19e7e833480 --- /dev/null +++ b/tools/binman/test/capsule/version.dts @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + binman { + efi-capsule { + image-index = <0x1>; + fw-version = <0x2>; + /* Image GUID for testing capsule update */ + image-guid = "binman-test"; + hardware-instance = <0x0>; + + blob { + filename = "capsule_input.bin"; + }; + }; + }; +}; -- cgit v1.2.3