summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorRyan QIAN <b32804@freescale.com>2011-11-02 10:22:16 +0800
committerRyan QIAN <b32804@freescale.com>2011-11-02 10:22:16 +0800
commit822c9266e666d64f5570c5bfcd4d5460fc635b9e (patch)
tree06956ee46b1536de7dc1a74c0aef75937ab19101 /include/configs
parent3dc5c067ea894b909bd6404530e399f90e78b8fe (diff)
downloadu-boot-imx-822c9266e666d64f5570c5bfcd4d5460fc635b9e.zip
u-boot-imx-822c9266e666d64f5570c5bfcd4d5460fc635b9e.tar.gz
u-boot-imx-822c9266e666d64f5570c5bfcd4d5460fc635b9e.tar.bz2
ENGR00139215 iMX61 Uboot support blow fuse
1. add force option to blow operation 2. add blown value check 3. add simple validation for zeros returned by 'simple_strtoul' call Signed-off-by: Ryan QIAN <b32804@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mx6q_arm2.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/mx6q_arm2.h b/include/configs/mx6q_arm2.h
index 165d13a..c9bff96 100644
--- a/include/configs/mx6q_arm2.h
+++ b/include/configs/mx6q_arm2.h
@@ -90,6 +90,7 @@
#define CONFIG_CMD_SPI
#define CONFIG_CMD_I2C
+#define CONFIG_CMD_IMXOTP
/* Enable below configure when supporting nand */
#define CONFIG_CMD_SF
@@ -169,6 +170,16 @@
#define CONFIG_NETMASK 255.255.255.0
/*
+ * OCOTP Configs
+ */
+#ifdef CONFIG_CMD_IMXOTP
+ #define CONFIG_IMX_OTP
+ #define IMX_OTP_BASE OCOTP_BASE_ADDR
+ #define IMX_OTP_ADDR_MAX 0x7F
+ #define IMX_OTP_DATA_ERROR_VAL 0xBADABADA
+#endif
+
+/*
* I2C Configs
*/
#ifdef CONFIG_CMD_I2C