diff options
Diffstat (limited to 'chip/it83xx/config_chip_it8xxx2.h')
-rw-r--r-- | chip/it83xx/config_chip_it8xxx2.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chip/it83xx/config_chip_it8xxx2.h b/chip/it83xx/config_chip_it8xxx2.h index 3f715380ac..345a248867 100644 --- a/chip/it83xx/config_chip_it8xxx2.h +++ b/chip/it83xx/config_chip_it8xxx2.h @@ -86,6 +86,13 @@ #define CONFIG_RAM_BASE 0x80100000 #define CONFIG_RAM_SIZE 0x0000f000 +/* + * Workaround mul instruction bug, see: + * https://www.ite.com.tw/uploads/product_download/it81202-bx-chip-errata.pdf + */ +#undef CONFIG_RISCV_EXTENSION_M +#define CONFIG_IT8XXX2_MUL_WORKAROUND + /* Embedded flash is KGD */ #define IT83XX_CHIP_FLASH_IS_KGD /* Set ILM (instruction local memory) size up to 1M bytes */ |