summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-06-17 00:23:06 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-06-17 00:29:25 +0200
commitf0f6aee58c8900d2ea562e8caa71cb87878f49f6 (patch)
tree825d54e036d004aa80cf210ac67c455dfcd7178e
parent6e88d98dcf3f907b71f43d4537e4398e2d303d98 (diff)
imx233: fix octop for stmp3600 and stmp3700
Change-Id: Iacfa8bb96c8b78d56e5010f313bc47b73df80720
-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 */