diff options
author | Simon Glass <sjg@chromium.org> | 2017-11-13 18:54:56 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-12-12 19:53:45 -0700 |
commit | 4e6fdbef67e4e73b516c20b073cf160679940b77 (patch) | |
tree | bf7a633b71dcb8e5a9728bdfc4d4462b46fa52a4 /tools/binman/ftest.py | |
parent | 47419eae4b266ec8d1954d9314d833d014d63ecd (diff) |
binman: Add support for including spl/u-boot-spl-nodtb.bin
This file contains SPL image without a device tree. Add support for
including this in images.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/ftest.py')
-rw-r--r-- | tools/binman/ftest.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py index 32bc7950b14..ed0697af006 100644 --- a/tools/binman/ftest.py +++ b/tools/binman/ftest.py @@ -876,6 +876,11 @@ class TestFunctional(unittest.TestCase): data = self._DoReadFile('51_u_boot_spl_dtb.dts') self.assertEqual(U_BOOT_SPL_DTB_DATA, data[:len(U_BOOT_SPL_DTB_DATA)]) + def testSplNoDtb(self): + """Test that an image with spl/u-boot-spl-nodtb.bin can be created""" + data = self._DoReadFile('52_u_boot_spl_nodtb.dts') + self.assertEqual(U_BOOT_SPL_NODTB_DATA, data[:len(U_BOOT_SPL_NODTB_DATA)]) + if __name__ == "__main__": unittest.main() |