summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/ocotp-imx233.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx233/ocotp-imx233.h')
-rw-r--r--firmware/target/arm/imx233/ocotp-imx233.h4
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 @@
#include "regs/regs-ocotp.h"
+#if IMX233_SUBTARGET >= 3700
#define IMX233_NUM_OCOTP_CUST 4
#define IMX233_NUM_OCOTP_CRYPTO 4
#define IMX233_NUM_OCOTP_HWCAP 6
@@ -52,5 +53,6 @@ static inline uint32_t imx233_ocotp_read(volatile uint32_t *reg)
imx233_ocotp_open_banks(false);
return val;
}
+#endif
-#endif /* OCOTP_IMX233_H */ \ No newline at end of file
+#endif /* OCOTP_IMX233_H */