diff options
author | Michal Simek | 2016-05-17 13:58:44 +0200 |
---|---|---|
committer | Michal Simek | 2016-05-24 11:15:02 +0200 |
commit | ed0cea7c5271cbfd37089f3a6392ba383eda06f7 (patch) | |
tree | d27c1390d9e62a9c88bd45e83e240ef4d9419832 /common/image-fit.c | |
parent | 905bca6c2d65fc639cffdca42004602e041eb97a (diff) |
mkimage: Report information about fpga
Add FIT_FPGA_PROP that user can identify an optional
entry for fpga.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/image-fit.c')
-rw-r--r-- | common/image-fit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/image-fit.c b/common/image-fit.c index c86b7c6b118..8a0ca2a8038 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -1483,6 +1483,10 @@ void fit_conf_print(const void *fit, int noffset, const char *p) if (uname) printf("%s FDT: %s\n", p, uname); + uname = (char *)fdt_getprop(fit, noffset, FIT_FPGA_PROP, NULL); + if (uname) + printf("%s FPGA: %s\n", p, uname); + /* Print out all of the specified loadables */ for (loadables_index = 0; fdt_get_string_index(fit, noffset, |