diff options
| author | Ricardo Salveti <[email protected]> | 2019-09-02 18:23:27 -0300 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2019-10-08 16:35:16 +0200 |
| commit | 6f8ef051c5dde7b6daeaf1a542c266d608fac783 (patch) | |
| tree | 58a958299f249d3b75d04bf18025af4e079c997e | |
| parent | ab1c482440ef33f34d7a4d7a14fe5e99a3704e42 (diff) | |
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 <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Acked-by: Max Krummenacher <[email protected]>
| -rw-r--r-- | board/toradex/apalis_imx6/apalis_imx6.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/toradex/apalis_imx6/apalis_imx6.c b/board/toradex/apalis_imx6/apalis_imx6.c index 6421a22c25a..496f76b7f51 100644 --- a/board/toradex/apalis_imx6/apalis_imx6.c +++ b/board/toradex/apalis_imx6/apalis_imx6.c @@ -1116,6 +1116,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) { } |
