diff options
-rw-r--r-- | board/voxel/board.h | 8 | ||||
-rw-r--r-- | board/voxel/build.mk | 6 | ||||
l--------- | board/voxel_npcx797fc | 1 |
3 files changed, 15 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 diff --git a/board/voxel_npcx797fc b/board/voxel_npcx797fc new file mode 120000 index 0000000000..082df00bc3 --- /dev/null +++ b/board/voxel_npcx797fc @@ -0,0 +1 @@ +voxel
\ No newline at end of file |