summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/eldrid/board.h7
-rw-r--r--board/eldrid/build.mk5
l---------board/eldrid_npcx7961
3 files changed, 13 insertions, 0 deletions
diff --git a/board/eldrid/board.h b/board/eldrid/board.h
index cb3ffbd0c7..585e6e0c9f 100644
--- a/board/eldrid/board.h
+++ b/board/eldrid/board.h
@@ -13,6 +13,13 @@
/* Optional features */
#define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands while in dev. */
+#ifndef BOARD_ELDRID_NPCX796FC
+/*
+ * The RAM and flash size combination on the the NPCX797FC does not leave
+ * any unused flash space that can be used to store the .init_rom section.
+ */
+#undef CONFIG_CHIP_INIT_ROM_REGION
+#endif
#define CONFIG_VBOOT_EFS2
diff --git a/board/eldrid/build.mk b/board/eldrid/build.mk
index 8a5f8f68cd..36b37435e1 100644
--- a/board/eldrid/build.mk
+++ b/board/eldrid/build.mk
@@ -8,7 +8,12 @@
CHIP:=npcx
CHIP_FAMILY:=npcx7
+
+ifeq ($(BOARD),eldrid_npcx796fc)
CHIP_VARIANT:=npcx7m6fc
+else
+CHIP_VARIANT:=npcx7m7fc
+endif
BASEBOARD:=volteer
board-y=board.o
diff --git a/board/eldrid_npcx796 b/board/eldrid_npcx796
new file mode 120000
index 0000000000..e33b439d8e
--- /dev/null
+++ b/board/eldrid_npcx796
@@ -0,0 +1 @@
+eldrid \ No newline at end of file