diff options
author | Tom Rini <trini@konsulko.com> | 2023-04-05 19:01:26 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-04-05 19:02:20 -0400 |
commit | f7ac2006346b16707465317d0216ccb5c0097b69 (patch) | |
tree | 8a3284f61d7f36053e54158a41f2b8eee3ab4aaa | |
parent | 487e42f7bc5e685c9337890a38358581bb4f31bc (diff) | |
download | u-boot-f7ac2006346b16707465317d0216ccb5c0097b69.tar.gz |
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>
-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 f0118e22541..d7e65780605 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. |