summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMeenakshi Aggarwal <meenakshi.aggarwal@nxp.com>2020-02-26 16:46:48 +0530
committerPriyanka Jain <priyanka.jain@nxp.com>2020-03-30 08:06:52 +0530
commit224899d273e1426cc18be317744be2c03798c41f (patch)
tree5485b9b18702c6b63d3f82b170a4e62a0b3371a0 /board
parent160e2b88dfacc19de46098951a1961ab25115645 (diff)
downloadu-boot-224899d273e1426cc18be317744be2c03798c41f.tar.gz
u-boot-224899d273e1426cc18be317744be2c03798c41f.tar.bz2
u-boot-224899d273e1426cc18be317744be2c03798c41f.zip
lx2160a : Remove default VID setting
Set VID to 800 mV for Rev1 and set VID as per switch settings for Rev2. Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/lx2160a/lx2160a.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/board/freescale/lx2160a/lx2160a.c b/board/freescale/lx2160a/lx2160a.c
index 8e22689ec7..971c76bf50 100644
--- a/board/freescale/lx2160a/lx2160a.c
+++ b/board/freescale/lx2160a/lx2160a.c
@@ -278,7 +278,14 @@ int i2c_multiplexer_select_vid_channel(u8 channel)
int init_func_vid(void)
{
- if (adjust_vdd(0) < 0)
+ int set_vid;
+
+ if (IS_SVR_REV(get_svr(), 1, 0))
+ set_vid = adjust_vdd(800);
+ else
+ set_vid = adjust_vdd(0);
+
+ if (set_vid < 0)
printf("core voltage not adjusted\n");
return 0;