projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1421551
)
arm: Only support ARM64_CRC32 when using GCC
author
Tom Rini
<trini@konsulko.com>
Wed, 5 Apr 2023 23:48:51 +0000
(19:48 -0400)
committer
Tom Rini
<trini@konsulko.com>
Tue, 25 Apr 2023 19:31:27 +0000
(15:31 -0400)
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>
arch/arm/Kconfig
patch
|
blob
|
history
diff --git
a/arch/arm/Kconfig
b/arch/arm/Kconfig
index f0118e225419f1973de791c8bfb2ec1b5d51e392..d7e6578060515eee264c09d27f30ce0d466b731a 100644
(file)
--- 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.