diff options
| author | Tom Rini <[email protected]> | 2022-02-07 12:13:53 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-02-07 12:13:53 -0500 |
| commit | 8b139f4e1c08c4ffb1a8e739db128ed02cbc637f (patch) | |
| tree | 0bff6bd0fadc7230538d712b1b1f112e424dbea0 /board/ea/mx7ulp_com/mx7ulp_com.c | |
| parent | b5c5b9a0bee56030f9f05ece52334b5207b72673 (diff) | |
| parent | 530780a69cb5d32a7794dcc322afaa25cdbdab96 (diff) | |
Merge tag 'u-boot-imx-20220207' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
u-boot-imx-20211022
-------------------
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/10887
- imx8 : Toradex Verdin MX8M Plus
Kontron pitx-imx8m
- imx8ulp: several fixes and improvements
- imx6ull fixes
- switching to binman
Diffstat (limited to 'board/ea/mx7ulp_com/mx7ulp_com.c')
| -rw-r--r-- | board/ea/mx7ulp_com/mx7ulp_com.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/board/ea/mx7ulp_com/mx7ulp_com.c b/board/ea/mx7ulp_com/mx7ulp_com.c index 7fce75ade9d..cd9591a9e32 100644 --- a/board/ea/mx7ulp_com/mx7ulp_com.c +++ b/board/ea/mx7ulp_com/mx7ulp_com.c @@ -52,3 +52,29 @@ int board_init(void) return 0; } + +#ifdef CONFIG_SPL_BUILD +#include <spl.h> + +#ifdef CONFIG_SPL_LOAD_FIT +int board_fit_config_name_match(const char *name) +{ + if (!strcmp(name, "imx7ulp-com")) + return 0; + + return -1; +} +#endif + +void spl_board_init(void) +{ + preloader_console_init(); +} + +void board_init_f(ulong dummy) +{ + arch_cpu_init(); + + board_early_init_f(); +} +#endif |
