diff options
author | Tom Rini <trini@konsulko.com> | 2023-04-05 19:48:51 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-04-25 15:31:27 -0400 |
commit | c2e5eea38a25c3b787bb243f7d9638cd6e634cd4 (patch) | |
tree | 60ef32aba85f89a214026ef18e71259d6704ce11 | |
parent | 142155103d93949fddfeb07eac708991d55a0a50 (diff) |
arm: Only support ARM64_CRC32 when using GCC
Today, only gcc has __builtin_aarch64_crc32b (clang-16 does not, for
example). Make this option depend on CC_IS_GCC.
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | arch/arm/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index f0118e2254..d7e6578060 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -12,7 +12,7 @@ config ARM64 config ARM64_CRC32 bool "Enable support for CRC32 instruction" - depends on ARM64 + depends on ARM64 && CC_IS_GCC default y help ARMv8 implements dedicated crc32 instruction for crc32 calculation. |