summaryrefslogtreecommitdiff
path: root/board/freescale/ls2080ardb
diff options
context:
space:
mode:
authorRai Harninder <harninder.rai@nxp.com>2016-03-23 17:04:38 +0530
committerYork Sun <york.sun@nxp.com>2016-03-29 08:46:24 -0700
commited2530d0963196a7175058ed9b5e6cbc29822f7f (patch)
tree655d3aab7b2eea0eff9226600e01de244d75e253 /board/freescale/ls2080ardb
parent2ef846e45cf0dbb9fb7d183266e4d57446592177 (diff)
downloadu-boot-imx-ed2530d0963196a7175058ed9b5e6cbc29822f7f.zip
u-boot-imx-ed2530d0963196a7175058ed9b5e6cbc29822f7f.tar.gz
u-boot-imx-ed2530d0963196a7175058ed9b5e6cbc29822f7f.tar.bz2
armv8/ls2080ardb: Enable VID support
This patch enable VID support for ls2080ardb platform. It uses the common VID driver. Signed-off-by: Rai Harninder <harninder.rai@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale/ls2080ardb')
-rw-r--r--board/freescale/ls2080ardb/ls2080ardb.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/freescale/ls2080ardb/ls2080ardb.c b/board/freescale/ls2080ardb/ls2080ardb.c
index ec4b74c..8201048 100644
--- a/board/freescale/ls2080ardb/ls2080ardb.c
+++ b/board/freescale/ls2080ardb/ls2080ardb.c
@@ -22,6 +22,7 @@
#include "../common/qixis.h"
#include "ls2080ardb_qixis.h"
+#include "../common/vid.h"
#define PIN_MUX_SEL_SDHC 0x00
#define PIN_MUX_SEL_DSPI 0x0a
@@ -123,6 +124,11 @@ int select_i2c_ch_pca9547(u8 ch)
return 0;
}
+int i2c_multiplexer_select_vid_channel(u8 channel)
+{
+ return select_i2c_ch_pca9547(channel);
+}
+
int config_board_mux(int ctrl_type)
{
u8 reg5;
@@ -189,6 +195,9 @@ int misc_init_r(void)
if (hwconfig("sdhc"))
config_board_mux(MUX_TYPE_SDHC);
+ if (adjust_vdd(0))
+ printf("Warning: Adjusting core voltage failed.\n");
+
return 0;
}