mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
board/lx2160a: Add init_func_vid() definition
Add init_func_vid() which calls adjust_vdd() This ensures adjust_vdd() is called via init_sequence_f[] Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
This commit is contained in:
parent
19e97e4ff7
commit
edc975b8aa
1 changed files with 8 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* Copyright 2018 NXP
|
||||
* Copyright 2018-2019 NXP
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
|
@ -111,6 +111,13 @@ int i2c_multiplexer_select_vid_channel(u8 channel)
|
|||
return select_i2c_ch_pca9547(channel);
|
||||
}
|
||||
|
||||
int init_func_vid(void)
|
||||
{
|
||||
if (adjust_vdd(0) < 0)
|
||||
printf("core voltage not adjusted\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
int checkboard(void)
|
||||
|
|
Loading…
Reference in a new issue