[U-Boot] [PATCH] board/lx2160a: Add init_func_vid() definition
Prabhakar Kushwaha
prabhakar.kushwaha at nxp.com
Wed Feb 20 07:47:18 UTC 2019
> -----Original Message-----
> From: Priyanka Jain
> Sent: Monday, February 4, 2019 12:03 PM
> To: u-boot at lists.denx.de; York Sun <york.sun at nxp.com>; Prabhakar
> Kushwaha <prabhakar.kushwaha at nxp.com>
> Cc: Priyanka Jain <priyanka.jain at nxp.com>
> Subject: [PATCH] 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 at nxp.com>
> ---
This patch been applied to fsl-qoriq master, awaiting upstream.
--pk
> board/freescale/lx2160a/lx2160a.c | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/board/freescale/lx2160a/lx2160a.c
> b/board/freescale/lx2160a/lx2160a.c
> index a62222e..223ec5a 100644
> --- a/board/freescale/lx2160a/lx2160a.c
> +++ b/board/freescale/lx2160a/lx2160a.c
> @@ -1,6 +1,6 @@
> // SPDX-License-Identifier: GPL-2.0+
> /*
> - * Copyright 2018 NXP
> + * Copyright 2018-2019 NXP
> */
>
> #include <common.h>
> @@ -100,6 +100,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)
> --
> 2.7.4
More information about the U-Boot
mailing list