diff options
author | Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> | 2020-02-26 14:16:48 +0300 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2020-03-30 05:36:52 +0300 |
commit | 224899d273e1426cc18be317744be2c03798c41f (patch) | |
tree | 5485b9b18702c6b63d3f82b170a4e62a0b3371a0 /board | |
parent | 160e2b88dfacc19de46098951a1961ab25115645 (diff) | |
download | u-boot-224899d273e1426cc18be317744be2c03798c41f.tar.xz |
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.c | 9 |
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; |