diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2013-01-14 14:49:36 -0700 |
---|---|---|
committer | Eric Nelson <eric.nelson@boundarydevices.com> | 2013-01-14 14:49:36 -0700 |
commit | f3edd864b4944be3170dba9adab8b535637dfb24 (patch) | |
tree | 1395b26387eca7436fad811fb3e09541f917895c | |
parent | e86d3198a3503245e86bba9108559b9b06032989 (diff) |
nitrogen6x: include OTP (read-only)
-rw-r--r-- | include/configs/nitrogen6x.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h index 3b88a126b9..c0b04bde6a 100644 --- a/include/configs/nitrogen6x.h +++ b/include/configs/nitrogen6x.h @@ -65,6 +65,16 @@ #define CONFIG_I2C_MXC #define CONFIG_SYS_I2C_SPEED 100000 +/* OCOTP Configs */ +#define CONFIG_CMD_IMXOTP +#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 +//#define IMX_OTPWRITE_ENABLED +#endif + /* MMC Configs */ #define CONFIG_FSL_ESDHC #define CONFIG_FSL_USDHC |