From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Wed, 18 Jul 2018 15:55:35 +0200 Subject: [U-Boot] [RFC PATCH 1/4] spl: fit: display a message when an FPGA image is loaded In-Reply-To: <20180718074141.16539-2-luaraneda@gmail.com> References: <20180718074141.16539-1-luaraneda@gmail.com> <20180718074141.16539-2-luaraneda@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 18.7.2018 09:41, Luis Araneda wrote: > 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 > --- > common/spl/spl_fit.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c > index 5b51a28a08..9eabb1c105 100644 > --- a/common/spl/spl_fit.c > +++ b/common/spl/spl_fit.c > @@ -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 > This looks good. M