> Subject: [PATCH] apalis_imx6: add board_fit_config_name_match to support
> FIT in SPL
> 
> Only one dtb is currently supported, so match with imx6-apalis.
> 
> Signed-off-by: Ricardo Salveti <rica...@foundries.io>
> ---
>  board/toradex/apalis_imx6/apalis_imx6.c | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/board/toradex/apalis_imx6/apalis_imx6.c
> b/board/toradex/apalis_imx6/apalis_imx6.c
> index fa7fcc8d46..ef668fcedc 100644
> --- a/board/toradex/apalis_imx6/apalis_imx6.c
> +++ b/board/toradex/apalis_imx6/apalis_imx6.c
> @@ -1121,6 +1121,16 @@ void board_init_f(ulong dummy)
>       board_init_r(NULL, 0);
>  }
> 
> +#ifdef CONFIG_SPL_LOAD_FIT
> +int board_fit_config_name_match(const char *name) {
> +     if (!strcmp(name, "imx6-apalis"))
> +             return 0;
> +
> +     return -1;
> +}
> +#endif
> +
>  void reset_cpu(ulong addr)
>  {
>  }
Reviewed-by: Peng Fan <peng....@nxp.com>

> --
> 2.23.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to