diff options
author | Simon Glass <sjg@chromium.org> | 2019-07-08 13:18:46 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-07-23 20:27:58 -0700 |
commit | 4c65025799d79a030a61f8d95e20954963c62db4 (patch) | |
tree | 38bbcae0de58ff20dd7f40f54752d19e25427bc8 /tools/binman/ftest.py | |
parent | a6a520e47b4b1280c93a6ac5b311c10da3485ff2 (diff) |
binman: Support ELF files for TPL
We currenty support using the ELF file in U-Boot proper and SPL, but not
TPL. Add this as it is useful both with sandbox and for CBFS to allow
adding TPL as a 'stage'.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/ftest.py')
-rw-r--r-- | tools/binman/ftest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py index 6ff871b3c16..9cec5f42fa3 100644 --- a/tools/binman/ftest.py +++ b/tools/binman/ftest.py @@ -1746,6 +1746,8 @@ class TestFunctional(unittest.TestCase): """Basic test of ELF entries""" self._SetupSplElf() with open(self.TestFile('bss_data'), 'rb') as fd: + TestFunctional._MakeInputFile('tpl/u-boot-tpl', fd.read()) + with open(self.TestFile('bss_data'), 'rb') as fd: TestFunctional._MakeInputFile('-boot', fd.read()) data = self._DoReadFile('096_elf.dts') |