diff options
author | Ming Liu <ming.liu@toradex.com> | 2021-07-23 09:39:48 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-08-09 13:09:29 +0200 |
commit | 87421ab6445ef1694ff3c79a20898bf6b961fdb0 (patch) | |
tree | 2bd5cc4e0bb5436bfdbb6dfcd4982110486cdbd7 /board | |
parent | 6150295061cc5f4d362d9fbdb7f268edc2d90902 (diff) | |
download | u-boot-87421ab6445ef1694ff3c79a20898bf6b961fdb0.zip u-boot-87421ab6445ef1694ff3c79a20898bf6b961fdb0.tar.gz u-boot-87421ab6445ef1694ff3c79a20898bf6b961fdb0.tar.bz2 |
board: colibri_imx6: add board_fit_config_name_match to support FIT in SPL
Only one dtb is currently supported, so match with imx6-colibri.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/toradex/colibri_imx6/colibri_imx6.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c index c0e7754..587d92a 100644 --- a/board/toradex/colibri_imx6/colibri_imx6.c +++ b/board/toradex/colibri_imx6/colibri_imx6.c @@ -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) { } |