summaryrefslogtreecommitdiff
path: root/board/drawcia_riscv/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/drawcia_riscv/board.h')
-rw-r--r--board/drawcia_riscv/board.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/drawcia_riscv/board.h b/board/drawcia_riscv/board.h
index 529b8fccdc..5dd3c916de 100644
--- a/board/drawcia_riscv/board.h
+++ b/board/drawcia_riscv/board.h
@@ -19,6 +19,13 @@
#define CONFIG_LTO
+/*
+ * The workaround can be enabled on a chip variant with 1MB flash.
+ * (There is relocation truncated to fit error when building this board)
+ */
+#define CONFIG_RISCV_EXTENSION_M
+#undef CONFIG_IT8XXX2_MUL_WORKAROUND
+
#undef GPIO_VOLUME_UP_L
#define GPIO_VOLUME_UP_L GPIO_VOLUP_BTN_ODL_HDMI_HPD