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>
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -160,6 +160,7 @@ static const table_entry_t uimage_type[] = {
|
||||
{ IH_TYPE_RKSPI, "rkspi", "Rockchip SPI Boot Image" },
|
||||
{ IH_TYPE_ZYNQIMAGE, "zynqimage", "Xilinx Zynq Boot Image" },
|
||||
{ IH_TYPE_ZYNQMPIMAGE, "zynqmpimage", "Xilinx ZynqMP Boot Image" },
|
||||
{ IH_TYPE_FPGA, "fpga", "FPGA Image" },
|
||||
{ -1, "", "", },
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user