summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stmp378x/include/mach/regs-ocotp.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-stmp378x/include/mach/regs-ocotp.h')
-rw-r--r--arch/arm/mach-stmp378x/include/mach/regs-ocotp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-stmp378x/include/mach/regs-ocotp.h b/arch/arm/mach-stmp378x/include/mach/regs-ocotp.h
index f0af64d9937e..06f151f9e55d 100644
--- a/arch/arm/mach-stmp378x/include/mach/regs-ocotp.h
+++ b/arch/arm/mach-stmp378x/include/mach/regs-ocotp.h
@@ -29,6 +29,8 @@
#define BM_OCOTP_CTRL_RELOAD_SHADOWS 0x00002000
#define BM_OCOTP_CTRL_WR_UNLOCK 0xFFFF0000
#define BP_OCOTP_CTRL_WR_UNLOCK 16
+#define BP_OCOTP_CTRL_ADDR 0
+#define BM_OCOTP_CTRL_ADDR 0x0000001F
#define HW_OCOTP_DATA 0x10
@@ -37,4 +39,6 @@
#define HW_OCOTP_CUST2 (0x20 + 2 * 0x10)
#define HW_OCOTP_CUST3 (0x20 + 3 * 0x10)
-#define HW_OCOTP_CUSTn 0x20
+#define HW_OCOTP_CUSTn(n) (0x20 + n * 0x10)
+
+#define HW_OCOTP_CUSTCAP 0x110