summaryrefslogtreecommitdiff
path: root/core/cortex-m0/config_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/cortex-m0/config_core.h')
-rw-r--r--core/cortex-m0/config_core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/cortex-m0/config_core.h b/core/cortex-m0/config_core.h
index e58b481704..389ed8edec 100644
--- a/core/cortex-m0/config_core.h
+++ b/core/cortex-m0/config_core.h
@@ -10,8 +10,9 @@
#define BFD_ARCH arm
#define BFD_FORMAT "elf32-littlearm"
-/* Emulate the CLZ instruction since the CPU core is lacking support */
+/* Emulate the CLZ/CTZ instructions since the CPU core is lacking support */
#define CONFIG_SOFTWARE_CLZ
+#define CONFIG_SOFTWARE_CTZ
#define CONFIG_SOFTWARE_PANIC
#endif /* __CROS_EC_CONFIG_CORE_H */