summaryrefslogtreecommitdiff
path: root/drivers/memory/emif.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/memory/emif.h')
-rw-r--r--drivers/memory/emif.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/memory/emif.h b/drivers/memory/emif.h
index 44b97dfe95b..692b2a864e7 100644
--- a/drivers/memory/emif.h
+++ b/drivers/memory/emif.h
@@ -12,6 +12,13 @@
#ifndef __EMIF_H
#define __EMIF_H
+/*
+ * Maximum number of different frequencies supported by EMIF driver
+ * Determines the number of entries in the pointer array for register
+ * cache
+ */
+#define EMIF_MAX_NUM_FREQUENCIES 6
+
/* Registers offset */
#define EMIF_MODULE_ID_AND_REVISION 0x0000
#define EMIF_STATUS 0x0004