diff --git a/include/configs/mx6dl_arm2_iram.h b/include/configs/mx6dl_arm2_iram.h index 6f64273d1e3197521ca67d9aa18bac6bd5f9e212..4aa5e5f8736a81ce9e91003684876ec5ed168808 100644 --- a/include/configs/mx6dl_arm2_iram.h +++ b/include/configs/mx6dl_arm2_iram.h @@ -84,6 +84,8 @@ #define CONFIG_CMD_CONSOLE /* coninfo */ #define CONFIG_CMD_RUN /* run command in env variable */ +#define CONFIG_CMD_IMXOTP + /* Enable below configure when supporting nand */ #define CONFIG_CMD_ENV @@ -136,6 +138,16 @@ #define CONFIG_CMDLINE_EDITING +/* + * 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 + /*----------------------------------------------------------------------- * Stack sizes * diff --git a/include/configs/mx6q_arm2_iram.h b/include/configs/mx6q_arm2_iram.h index a027b021344c7e5a04181bc2226171ddf624c92b..a9623dff306ac9170870a5f9608030f7704620ec 100644 --- a/include/configs/mx6q_arm2_iram.h +++ b/include/configs/mx6q_arm2_iram.h @@ -82,6 +82,8 @@ #define CONFIG_CMD_CONSOLE /* coninfo */ #define CONFIG_CMD_RUN /* run command in env variable */ +#define CONFIG_CMD_IMXOTP + /* Enable below configure when supporting nand */ #define CONFIG_CMD_ENV @@ -134,6 +136,16 @@ #define CONFIG_CMDLINE_EDITING +/* + * 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 + /*----------------------------------------------------------------------- * Stack sizes * diff --git a/include/configs/mx6q_sabresd_iram.h b/include/configs/mx6q_sabresd_iram.h index f6eb67195a694022638b21895a0eef0ac0e8d731..0fc3b387f8fc6b15aa55619d58c55931bc9b78f4 100644 --- a/include/configs/mx6q_sabresd_iram.h +++ b/include/configs/mx6q_sabresd_iram.h @@ -82,6 +82,8 @@ #define CONFIG_CMD_CONSOLE /* coninfo */ #define CONFIG_CMD_RUN /* run command in env variable */ +#define CONFIG_CMD_IMXOTP + /* Enable below configure when supporting nand */ #define CONFIG_CMD_ENV @@ -134,6 +136,16 @@ #define CONFIG_CMDLINE_EDITING +/* + * 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 + /*----------------------------------------------------------------------- * Stack sizes * diff --git a/include/configs/mx6sl_arm2_iram.h b/include/configs/mx6sl_arm2_iram.h index 4a39f5d984f26ef81256d262e619a84b49f8e4dc..ff0637ff21cdbdffa643949f4daf030594ed64b0 100644 --- a/include/configs/mx6sl_arm2_iram.h +++ b/include/configs/mx6sl_arm2_iram.h @@ -81,6 +81,8 @@ #define CONFIG_CMD_CONSOLE /* coninfo */ #define CONFIG_CMD_RUN /* run command in env variable */ +#define CONFIG_CMD_IMXOTP + /* Enable below configure when supporting nand */ #define CONFIG_CMD_ENV @@ -123,6 +125,16 @@ #define CONFIG_CMDLINE_EDITING +/* + * 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 + /*----------------------------------------------------------------------- * Stack sizes * diff --git a/include/configs/mx6sl_evk_iram.h b/include/configs/mx6sl_evk_iram.h index 5e087b9ad387df663975481cd10ac8509a2c45c8..34a23b097d9a84a9ad28e184d7fb5e445a39935d 100644 --- a/include/configs/mx6sl_evk_iram.h +++ b/include/configs/mx6sl_evk_iram.h @@ -81,6 +81,8 @@ #define CONFIG_CMD_CONSOLE /* coninfo */ #define CONFIG_CMD_RUN /* run command in env variable */ +#define CONFIG_CMD_IMXOTP + /* Enable below configure when supporting nand */ #define CONFIG_CMD_ENV @@ -123,6 +125,16 @@ #define CONFIG_CMDLINE_EDITING +/* + * 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 + /*----------------------------------------------------------------------- * Stack sizes *