summaryrefslogtreecommitdiff
path: root/board/freescale/t208xrdb/t208xrdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/t208xrdb/t208xrdb.c')
-rw-r--r--board/freescale/t208xrdb/t208xrdb.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/freescale/t208xrdb/t208xrdb.c b/board/freescale/t208xrdb/t208xrdb.c
index 341453b..ad393df 100644
--- a/board/freescale/t208xrdb/t208xrdb.c
+++ b/board/freescale/t208xrdb/t208xrdb.c
@@ -19,6 +19,7 @@
#include <fm_eth.h>
#include "t208xrdb.h"
#include "cpld.h"
+#include "../common/vid.h"
DECLARE_GLOBAL_DATA_PTR;
@@ -85,6 +86,12 @@ int board_early_init_r(void)
setup_portals();
#endif
+ /*
+ * Adjust core voltage according to voltage ID
+ * This function changes I2C mux to channel 2.
+ */
+ if (adjust_vdd(0))
+ printf("Warning: Adjusting core voltage failed.\n");
return 0;
}