[U-Boot] [PATCH] apalis_imx6: add board_fit_config_name_match to support FIT in SPL
Peng Fan
peng.fan at nxp.com
Tue Sep 3 03:09:42 UTC 2019
> 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 <ricardo at 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.fan at nxp.com>
> --
> 2.23.0
More information about the U-Boot
mailing list