summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-06-09 15:50:15 +0800
committerYe.Li <B37916@freescale.com>2014-06-17 11:13:50 +0800
commit6f1773261ab094dd9d6872a9c079d8b1fbdfbe03 (patch)
tree6680a65fe23ad98bde4d9b102ef7ec9919d7acb0 /include
parent956b0f8ba91444874413c8244753b70c6695ca74 (diff)
downloadu-boot-imx-6f1773261ab094dd9d6872a9c079d8b1fbdfbe03.zip
u-boot-imx-6f1773261ab094dd9d6872a9c079d8b1fbdfbe03.tar.gz
u-boot-imx-6f1773261ab094dd9d6872a9c079d8b1fbdfbe03.tar.bz2
ENGR00315894-43 ARM:imx6 Enable OCOTP driver and fuse command
Enable the fuse command config "CONFIG_CMD_FUSE" and OCOTP driver "CONFIG_MXC_OCOTP" for imx6. Users can use "sense" and "prog" to access the fuse directly, or use "read" and "override" to access shadow registers. Supported boards: mx6qdlsabresd, mx6qdlsabreauto, mx6qdlarm2, mx6slevk Signed-off-by: Ye.Li <B37916@freescale.com> Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx6qarm2.h6
-rw-r--r--include/configs/mx6slevk.h6
2 files changed, 12 insertions, 0 deletions
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h
index b73fcbe..c1dd6f4 100644
--- a/include/configs/mx6qarm2.h
+++ b/include/configs/mx6qarm2.h
@@ -38,6 +38,12 @@
#define CONFIG_MXC_UART
#define CONFIG_MXC_UART_BASE UART4_BASE
+/* OCOTP Config */
+#define CONFIG_CMD_FUSE
+#ifdef CONFIG_CMD_FUSE
+#define CONFIG_MXC_OCOTP
+#endif
+
/* MMC Configs */
#define CONFIG_FSL_ESDHC
#define CONFIG_FSL_USDHC
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
index 36e5c18..81ccfdb 100644
--- a/include/configs/mx6slevk.h
+++ b/include/configs/mx6slevk.h
@@ -42,6 +42,12 @@
#define CONFIG_MXC_UART
#define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR
+/* OCOTP Config */
+#define CONFIG_CMD_FUSE
+#ifdef CONFIG_CMD_FUSE
+#define CONFIG_MXC_OCOTP
+#endif
+
/* MMC Configs */
#define CONFIG_FSL_ESDHC
#define CONFIG_FSL_USDHC