summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorMahesh Mahadevan <r9aadq@freescale.com>2011-11-02 06:10:18 -0500
committerMahesh Mahadevan <r9aadq@freescale.com>2011-11-02 08:00:52 -0500
commit9aa74e691a1de2e471af837d72a5a3acc274c540 (patch)
tree88db632fdd55e9802b33c1970d9691c8baa63648 /include/configs
parent822c9266e666d64f5570c5bfcd4d5460fc635b9e (diff)
downloadu-boot-imx-9aa74e691a1de2e471af837d72a5a3acc274c540.zip
u-boot-imx-9aa74e691a1de2e471af837d72a5a3acc274c540.tar.gz
u-boot-imx-9aa74e691a1de2e471af837d72a5a3acc274c540.tar.bz2
ENGR00161277 Add fuse access capability for MX6 Sabre-lite
Add support to read and program fuses in the MX6 Sabre-lite Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mx6q_sabrelite.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/mx6q_sabrelite.h b/include/configs/mx6q_sabrelite.h
index 0dbd5ae..3285a9c 100644
--- a/include/configs/mx6q_sabrelite.h
+++ b/include/configs/mx6q_sabrelite.h
@@ -90,6 +90,7 @@
#define CONFIG_CMD_SPI
#define CONFIG_CMD_I2C
+#define CONFIG_CMD_IMXOTP
/* Enable below configure when supporting nand */
@@ -175,6 +176,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