[U-Boot] [RFC PATCH 1/4] spl: fit: display a message when an FPGA image is loaded

Michal Simek michal.simek at xilinx.com
Wed Jul 18 13:55:35 UTC 2018


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 <luaraneda at gmail.com>
> ---
>  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


More information about the U-Boot mailing list