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
@ -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 New Issue
Block a user