test: py: Extend fpga test with fit image with external data
authorMichal Simek <michal.simek@xilinx.com>
Mon, 18 Feb 2019 12:22:56 +0000 (13:22 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 16 Apr 2019 09:51:34 +0000 (11:51 +0200)
commit963482120d182835e58d234961c5f7c3d5f78202
tree9da19fcdf859001bc7140406c7d10fa7f2cbb034
parent3003c445b3cb1d1ca7e2304bfa3e2faf2ae02f80
test: py: Extend fpga test with fit image with external data

Images are created
mkimage -f fit.its -E  download-fit-external.ub

and test expects these entries.

env__fpga_under_test = {
    ...
    "mkimage_fit_external": download-fit-external.ub",
    "mkimage_fit_external_size": xxxxx,
    ...
}

Test download file and loads it to fpga.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/py/tests/test_fpga.py