summaryrefslogtreecommitdiff
path: root/firmware/target/arm
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 /firmware/target/arm
parent6e88d98dcf3f907b71f43d4537e4398e2d303d98 (diff)
downloadrockbox-f0f6aee58c8900d2ea562e8caa71cb87878f49f6.tar.gz
rockbox-f0f6aee58c8900d2ea562e8caa71cb87878f49f6.zip
imx233: fix octop for stmp3600 and stmp3700
Change-Id: Iacfa8bb96c8b78d56e5010f313bc47b73df80720
Diffstat (limited to 'firmware/target/arm')
-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 @@
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 */