summaryrefslogtreecommitdiff
path: root/util/ecst.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/ecst.h')
-rw-r--r--util/ecst.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/util/ecst.h b/util/ecst.h
index 423f65a102..f99caf4ed8 100644
--- a/util/ecst.h
+++ b/util/ecst.h
@@ -161,11 +161,14 @@
#define MAX_FLASH_SIZE 0x03ffffff
/* Chips: convert from name to index. */
-#define NPCX5M5G 0
-#define NPCX5M6G 1
-#define NPCX7M5 2
-#define NPCX7M6 3
-#define NPCX7M7 4
+enum npcx_chip_ram_variant {
+ NPCX5M5G = 0,
+ NPCX5M6G = 1,
+ NPCX7M5 = 2,
+ NPCX7M6 = 3,
+ NPCX7M7 = 4,
+ NPCX_CHIP_RAM_VAR_NONE
+};
#define DEFAULT_CHIP NPCX5M5G