colibri_imx6: add board_fit_config_name_match to support FIT in SPL
PATCH 1/1 colibri_imx6: add board_fit_config_name_match to support FIT in SPL
From: Ming Liu <[email protected]>
Only one dtb is currently supported, so match with imx6-colibri.
Signed-off-by Ming Liu <[email protected]>
--- board/toradex/colibri_imx6/colibri_imx6.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
board/toradex/colibri_imx6/colibri_imx6.c +10 -0
@@ -1081,6 +1081,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-colibri" )) +return 0 ; + +return -1 ; +} +#endif +void reset_cpu (void ) { }
Signature · 1 line
2.29.0