mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 11:51:27 +00:00
7d07de2c18
Currently CONFIG_CRYPTO_DEV_AMLOGIC_GXL=y implicitly depends on CONFIG_HAS_IOMEM=y; consequently, on architectures without IOMEM we get the following build error: ld: drivers/crypto/amlogic/amlogic-gxl-core.o: in function `meson_crypto_probe': drivers/crypto/amlogic/amlogic-gxl-core.c:240: undefined reference to `devm_platform_ioremap_resource' Fix the build error by adding the unspecified dependency. Reported-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Brendan Higgins <brendanhiggins@google.com> Acked-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
26 lines
797 B
Plaintext
26 lines
797 B
Plaintext
config CRYPTO_DEV_AMLOGIC_GXL
|
|
tristate "Support for amlogic cryptographic offloader"
|
|
depends on HAS_IOMEM
|
|
default y if ARCH_MESON
|
|
select CRYPTO_SKCIPHER
|
|
select CRYPTO_ENGINE
|
|
select CRYPTO_ECB
|
|
select CRYPTO_CBC
|
|
select CRYPTO_AES
|
|
help
|
|
Select y here to have support for the cryptographic offloader
|
|
available on Amlogic GXL SoC.
|
|
This hardware handles AES ciphers in ECB/CBC mode.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called amlogic-gxl-crypto.
|
|
|
|
config CRYPTO_DEV_AMLOGIC_GXL_DEBUG
|
|
bool "Enable amlogic stats"
|
|
depends on CRYPTO_DEV_AMLOGIC_GXL
|
|
depends on DEBUG_FS
|
|
help
|
|
Say y to enable amlogic-crypto debug stats.
|
|
This will create /sys/kernel/debug/gxl-crypto/stats for displaying
|
|
the number of requests per flow and per algorithm.
|