summaryrefslogtreecommitdiff
path: root/chip/mec1322/registers.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/mec1322/registers.h')
-rw-r--r--chip/mec1322/registers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chip/mec1322/registers.h b/chip/mec1322/registers.h
index 1c21e9b8bf..b7a8612f83 100644
--- a/chip/mec1322/registers.h
+++ b/chip/mec1322/registers.h
@@ -130,6 +130,11 @@ static inline uintptr_t gpio_port_base(int port_id)
#define MEC1322_VBAT_CE REG32(MEC1322_VBAT_BASE + 0x8)
#define MEC1322_VBAT_RAM(x) REG32(MEC1322_VBAT_BASE + 0x400 + 4 * (x))
+/* Miscellaneous firmware control fields
+ * scratch pad index cannot be more than 16 as
+ * mec has 64 bytes = 16 indexes of scratchpad RAM
+ */
+#define MEC1322_IMAGETYPE_IDX 15
/* LPC */
#define MEC1322_LPC_CFG_BASE 0x400f3300