summaryrefslogtreecommitdiffstats
path: root/include/configs/T4240RDB.h
diff options
context:
space:
mode:
authorYing Zhang <b40530@freescale.com>2016-01-22 12:15:13 +0800
committerYork Sun <york.sun@nxp.com>2016-01-25 12:38:05 -0800
commit2f66a828f7621958b6925fc763380fa87be55ee6 (patch)
treebbeb74ecf4f687d92def5b24c02c49373f9b016a /include/configs/T4240RDB.h
parentcabe4d2f1970eae618ffac4262b61460b9ad3097 (diff)
downloadtalos-obmc-uboot-2f66a828f7621958b6925fc763380fa87be55ee6.tar.gz
talos-obmc-uboot-2f66a828f7621958b6925fc763380fa87be55ee6.zip
powerpc/board/t4240rdb: Enable VID support
The fuse status register provides the values from on-chip voltage ID efuses programmed at the factory. These values define the voltage requirements for the chip. u-boot reads FUSESR and translates the values into the appropriate commands to set the voltage output value of an external voltage regulator. Signed-off-by: Ying Zhang <b40530@freescale.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/configs/T4240RDB.h')
-rw-r--r--include/configs/T4240RDB.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h
index 73279c899e..4a17f41eb3 100644
--- a/include/configs/T4240RDB.h
+++ b/include/configs/T4240RDB.h
@@ -606,6 +606,16 @@ unsigned long get_board_ddr_clk(void);
#define I2C_VOL_MONITOR_BUS_V_OVF 0x1
#define I2C_VOL_MONITOR_BUS_V_SHIFT 3
+#define CONFIG_VID_FLS_ENV "t4240rdb_vdd_mv"
+#ifndef CONFIG_SPL_BUILD
+#define CONFIG_VID
+#endif
+#define CONFIG_VOL_MONITOR_IR36021_SET
+#define CONFIG_VOL_MONITOR_IR36021_READ
+/* The lowest and highest voltage allowed for T4240RDB */
+#define VDD_MV_MIN 819
+#define VDD_MV_MAX 1212
+
/*
* eSPI - Enhanced SPI
*/
OpenPOWER on IntegriCloud