diff options
-rw-r--r-- | firmware/target/arm/imx233/ocotp-imx233.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/ocotp-imx233.h b/firmware/target/arm/imx233/ocotp-imx233.h index 9406f98530..635d7c9267 100644 --- a/firmware/target/arm/imx233/ocotp-imx233.h +++ b/firmware/target/arm/imx233/ocotp-imx233.h | |||
@@ -26,6 +26,7 @@ | |||
26 | 26 | ||
27 | #include "regs/regs-ocotp.h" | 27 | #include "regs/regs-ocotp.h" |
28 | 28 | ||
29 | #if IMX233_SUBTARGET >= 3700 | ||
29 | #define IMX233_NUM_OCOTP_CUST 4 | 30 | #define IMX233_NUM_OCOTP_CUST 4 |
30 | #define IMX233_NUM_OCOTP_CRYPTO 4 | 31 | #define IMX233_NUM_OCOTP_CRYPTO 4 |
31 | #define IMX233_NUM_OCOTP_HWCAP 6 | 32 | #define IMX233_NUM_OCOTP_HWCAP 6 |
@@ -52,5 +53,6 @@ static inline uint32_t imx233_ocotp_read(volatile uint32_t *reg) | |||
52 | imx233_ocotp_open_banks(false); | 53 | imx233_ocotp_open_banks(false); |
53 | return val; | 54 | return val; |
54 | } | 55 | } |
56 | #endif | ||
55 | 57 | ||
56 | #endif /* OCOTP_IMX233_H */ \ No newline at end of file | 58 | #endif /* OCOTP_IMX233_H */ |