mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
arm64: zynqmp: Call psu_init from board_early_init_f
For some mini platforms there could be a need to include psu_init. That's why move it to board file instead of spl only file. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
cb186e74fb
commit
55de09292f
2 changed files with 6 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
|
||||
void board_init_f(ulong dummy)
|
||||
{
|
||||
psu_init();
|
||||
board_early_init_f();
|
||||
board_early_init_r();
|
||||
|
||||
#ifdef CONFIG_DEBUG_UART
|
||||
|
|
|
@ -118,6 +118,11 @@ int board_early_init_f(void)
|
|||
#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_CLK_ZYNQMP)
|
||||
zynqmp_pmufw_version();
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SPL_BUILD)
|
||||
psu_init();
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue