summaryrefslogtreecommitdiff
path: root/tools/binman/ftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/binman/ftest.py')
-rw-r--r--tools/binman/ftest.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py
index bf98b268ac1..ea2fa6eb83a 100644
--- a/tools/binman/ftest.py
+++ b/tools/binman/ftest.py
@@ -7212,6 +7212,11 @@ fdt fdtmap Extract the devicetree blob from the fdtmap
configlen_noheader = TI_BOARD_CONFIG_DATA * 4
self.assertGreater(data, configlen_noheader)
+ def testTIBoardConfigCombinedSwRev(self):
+ """Test that sw-rev property is honoured in combined board config"""
+ data = self._DoReadFile('vendor/ti_board_cfg_combined_sw_rev.dts')
+ self.assertEqual(2, data[1])
+
def testTIBoardConfigNoDataType(self):
"""Test that error is thrown when data type is not supported"""
with self.assertRaises(ValueError) as e: