diff options
author | Simon Glass <sjg@chromium.org> | 2021-03-18 20:24:57 +1300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-03-26 17:03:09 +1300 |
commit | 77a64e08e2c8238998e4f5ea014b0c9fd1043b1b (patch) | |
tree | 9d642c788b103b5838156507198d5781ed57f9b8 /tools/binman/ftest.py | |
parent | f589882a70d0a6450527be55506ed03097de9a19 (diff) | |
download | u-boot-77a64e08e2c8238998e4f5ea014b0c9fd1043b1b.zip u-boot-77a64e08e2c8238998e4f5ea014b0c9fd1043b1b.tar.gz u-boot-77a64e08e2c8238998e4f5ea014b0c9fd1043b1b.tar.bz2 |
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 <sjg@chromium.org>
Diffstat (limited to 'tools/binman/ftest.py')
-rw-r--r-- | tools/binman/ftest.py | 6 |
1 files changed, 6 insertions, 0 deletions
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() |