mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
xilinx: common: Protect board_late_init_xilinx()
Do not call board_late_init_xilinx() when BOARD_LATE_INIT is not enabled. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
83594f3c01
commit
7c553ac0ff
1 changed files with 2 additions and 0 deletions
|
@ -271,6 +271,7 @@ void *board_fdt_blob_setup(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_BOARD_LATE_INIT)
|
||||
static int env_set_by_index(const char *name, int index, char *data)
|
||||
{
|
||||
char var[32];
|
||||
|
@ -333,3 +334,4 @@ int board_late_init_xilinx(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue