mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
arm64: zynqmp: Protect board_late_init function
Function should be compiled only when CONFIG_BOARD_LATE_INIT is defined. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
f11d4ab0b3
commit
0bf3f9cb27
1 changed files with 2 additions and 0 deletions
|
@ -489,6 +489,7 @@ void reset_cpu(ulong addr)
|
|||
{
|
||||
}
|
||||
|
||||
#if defined(CONFIG_BOARD_LATE_INIT)
|
||||
static const struct {
|
||||
u32 bit;
|
||||
const char *name;
|
||||
|
@ -655,6 +656,7 @@ int board_late_init(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
int checkboard(void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue