From 77a64e08e2c8238998e4f5ea014b0c9fd1043b1b Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 18 Mar 2021 20:24:57 +1300 Subject: binman: Add support for u-boot-tpl-nodtb Allow this entry type to be placed in an image. This is the TPL binary, without a devicetree appended. Signed-off-by: Simon Glass --- tools/binman/ftest.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools/binman/ftest.py') diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py index e056601..684e507 100644 --- a/tools/binman/ftest.py +++ b/tools/binman/ftest.py @@ -4256,6 +4256,12 @@ class TestFunctional(unittest.TestCase): self.assertEquals(U_BOOT_DATA, u_boot.ReadData()) + def testTplNoDtb(self): + """Test that an image with tpl/u-boot-tpl-nodtb.bin can be created""" + data = self._DoReadFile('192_u_boot_tpl_nodtb.dts') + self.assertEqual(U_BOOT_TPL_NODTB_DATA, + data[:len(U_BOOT_TPL_NODTB_DATA)]) + if __name__ == "__main__": unittest.main() -- cgit v1.1