diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx6q_arm2_lpddr2.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/mx6q_arm2_lpddr2.h b/include/configs/mx6q_arm2_lpddr2.h index 9a92c76..64e403b 100644 --- a/include/configs/mx6q_arm2_lpddr2.h +++ b/include/configs/mx6q_arm2_lpddr2.h @@ -91,6 +91,7 @@ #define CONFIG_BOOTP_DNS #define CONFIG_CMD_I2C +#define CONFIG_CMD_IMXOTP /* Enable below configure when supporting nand */ @@ -171,6 +172,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 |