summaryrefslogtreecommitdiff
path: root/core/nds32/config_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/nds32/config_core.h')
-rw-r--r--core/nds32/config_core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/nds32/config_core.h b/core/nds32/config_core.h
index fae914f7eb..9e9a88848c 100644
--- a/core/nds32/config_core.h
+++ b/core/nds32/config_core.h
@@ -13,9 +13,10 @@
#define CONFIG_SOFTWARE_PANIC
/*
- * The Andestar v3m architecture has no CLZ instruction (contrary to v3),
+ * The Andestar v3m architecture has no CLZ/CTZ instructions (contrary to v3),
* so let's use the software implementation.
*/
#define CONFIG_SOFTWARE_CLZ
+#define CONFIG_SOFTWARE_CTZ
#endif /* __CROS_EC_CONFIG_CORE_H */