summaryrefslogtreecommitdiff
path: root/board/voxel
diff options
context:
space:
mode:
Diffstat (limited to 'board/voxel')
-rw-r--r--board/voxel/board.h8
-rw-r--r--board/voxel/build.mk6
2 files changed, 14 insertions, 0 deletions
diff --git a/board/voxel/board.h b/board/voxel/board.h
index 422e4adcdd..1194e15999 100644
--- a/board/voxel/board.h
+++ b/board/voxel/board.h
@@ -15,6 +15,14 @@
#undef NPCX7_PWM1_SEL
#define NPCX7_PWM1_SEL 0 /* GPIO C2 is not used as PWM1. */
+#ifdef BOARD_VOXEL_NPCX797FC
+/*
+ * 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_SYSTEM_UNLOCKED /* Allow dangerous commands while in dev. */
#define CONFIG_VBOOT_EFS2
diff --git a/board/voxel/build.mk b/board/voxel/build.mk
index b78172d3cf..1621551793 100644
--- a/board/voxel/build.mk
+++ b/board/voxel/build.mk
@@ -8,7 +8,13 @@
CHIP:=npcx
CHIP_FAMILY:=npcx7
+# A limited Voxe boards are reworked with NPCX797FC variant. Set the
+# modify the variant type to match.
+ifeq ($(BOARD),voxel_npcx797fc)
+CHIP_VARIANT:=npcx7m7fc
+else
CHIP_VARIANT:=npcx7m6fc
+endif
BASEBOARD:=volteer
board-y=board.o