mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
armv8: fsl-layerscape: introduce fsl_board_late_init()
The fsl-layerscape already occupies board_late_init(), therefore it is not possible for a board to have its own board_late_init(). Introduce fsl_board_late_init() which can be implemented in the board specific code. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
parent
065ee175e0
commit
762ee522e2
1 changed files with 6 additions and 1 deletions
|
@ -829,6 +829,11 @@ int fsl_setenv_mcinitcmd(void)
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_BOARD_LATE_INIT
|
||||
__weak int fsl_board_late_init(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int board_late_init(void)
|
||||
{
|
||||
#ifdef CONFIG_CHAIN_OF_TRUST
|
||||
|
@ -863,6 +868,6 @@ int board_late_init(void)
|
|||
qspi_ahb_init();
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
return fsl_board_late_init();
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue