spl: fit: display a message when an FPGA image is loaded
authorLuis Araneda <luaraneda@gmail.com>
Thu, 19 Jul 2018 07:10:16 +0000 (03:10 -0400)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 19 Jul 2018 08:49:56 +0000 (10:49 +0200)
A message should be displayed if an image is loaded
to an FPGA, because the hardware might have changed,
and the user should be informed

Signed-off-by: Luis Araneda <luaraneda@gmail.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
common/spl/spl_fit.c

index 5b51a28..9eabb1c 100644 (file)
@@ -412,6 +412,7 @@ int spl_load_simple_fit(struct spl_image_info *spl_image,
                        printf("%s: Cannot load the FPGA: %i\n", __func__, ret);
                        return ret;
                }
+               puts("FPGA image loaded from FIT\n");
                node = -1;
        }
 #endif