From f0f6aee58c8900d2ea562e8caa71cb87878f49f6 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Mon, 17 Jun 2013 00:23:06 +0200 Subject: imx233: fix octop for stmp3600 and stmp3700 Change-Id: Iacfa8bb96c8b78d56e5010f313bc47b73df80720 --- firmware/target/arm/imx233/ocotp-imx233.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'firmware/target/arm/imx233') 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 */ -- cgit v1.2.3