summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-01-06 13:51:06 +0800
committerYe.Li <B37916@freescale.com>2014-01-06 14:04:57 +0800
commitc089f6c136bf04dd813633a00bf47cd6e1a5bb30 (patch)
treebc0f32727b92756cfb6d3e29263d2d6043f929b6 /include
parenta3b69ac6fafef840bc58003327a3e6343af3e5b9 (diff)
downloadu-boot-imx-c089f6c136bf04dd813633a00bf47cd6e1a5bb30.zip
u-boot-imx-c089f6c136bf04dd813633a00bf47cd6e1a5bb30.tar.gz
u-boot-imx-c089f6c136bf04dd813633a00bf47cd6e1a5bb30.tar.bz2
ENGR00293722 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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx6qarm2.h8
-rw-r--r--include/configs/mx6qsabre_common.h8
-rw-r--r--include/configs/mx6slevk.h8
3 files changed, 21 insertions, 3 deletions
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h
index a29a886..b3973ff 100644
--- a/include/configs/mx6qarm2.h
+++ b/include/configs/mx6qarm2.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2013 Freescale Semiconductor, Inc.
+ * Copyright (C) 2010-2014 Freescale Semiconductor, Inc.
*
* Configuration settings for the Freescale i.MX6Q Armadillo2 board.
*
@@ -56,6 +56,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/mx6qsabre_common.h b/include/configs/mx6qsabre_common.h
index 178ece4..69ff0df 100644
--- a/include/configs/mx6qsabre_common.h
+++ b/include/configs/mx6qsabre_common.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012-2013 Freescale Semiconductor, Inc.
+ * Copyright (C) 2012-2014 Freescale Semiconductor, Inc.
*
* Configuration settings for the Freescale i.MX6Q SabreSD board.
*
@@ -57,6 +57,12 @@
#define CONFIG_MXC_UART
+/* 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 e0a6146..03a20d2 100644
--- a/include/configs/mx6slevk.h
+++ b/include/configs/mx6slevk.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2013 Freescale Semiconductor, Inc.
+ * Copyright (C) 2013-2014 Freescale Semiconductor, Inc.
*
* Configuration settings for the Freescale i.MX6SL EVK board.
*
@@ -50,6 +50,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