ARM: configs: at91: sama5: Use make savedefconfig and clean leftovers
Subsystems (2)
PATCH 1/2 ARM: configs: at91: sama5: Use make savedefconfig and clean leftovers
Even since the addition CONFIG_VIDEO_HANTRO was set to n because it did not respect the dependency chain. It doesn't respect it now either, remove it.
--- arch/arm/configs/sama5_defconfig | 1 - 1 file changed, 1 deletion(-)
arch/arm/configs/sama5_defconfig +0 -1
@@ -207,7 +207,6 @@ CONFIG_AT_HDMAC=y CONFIG_AT_XDMAC=y CONFIG_STAGING=y CONFIG_STAGING_MEDIA=y -CONFIG_VIDEO_HANTRO=m # CONFIG_IOMMU_SUPPORT is not set CONFIG_IIO=y CONFIG_AT91_ADC=y
Signature · 1 line
2.25.1
PATCH 2/2 ARM: configs: at91: Enable crypto software implementations
It's a good idea to enable at least the same amount of algs as the hardware IPs are supporting. Provide the posibility for the hw accelerated crypto alg to fallback to software implementation, in case they need it.
--- arch/arm/configs/at91_dt_defconfig | 8 +++++++- arch/arm/configs/sama5_defconfig | 7 +++++++ 2 files changed, 14 insertions(+), 1 deletion(-)
arch/arm/configs/at91_dt_defconfig +7 -1
@@ -213,7 +213,13 @@ CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_CODEPAGE_850=y CONFIG_NLS_ISO8859_1=y CONFIG_NLS_UTF8=y -CONFIG_CRYPTO_ECB=y +CONFIG_CRYPTO_CBC=y +CONFIG_CRYPTO_CFB=y +CONFIG_CRYPTO_OFB=y +CONFIG_CRYPTO_XTS=y +CONFIG_CRYPTO_SHA1=y +CONFIG_CRYPTO_SHA512=y +CONFIG_CRYPTO_DES=y CONFIG_CRYPTO_USER_API_HASH=m CONFIG_CRYPTO_USER_API_SKCIPHER=m CONFIG_CRYPTO_DEV_ATMEL_AES=y
arch/arm/configs/sama5_defconfig +7 -0
@@ -230,6 +230,13 @@ CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_CODEPAGE_850=y CONFIG_NLS_ISO8859_1=y CONFIG_NLS_UTF8=y +CONFIG_CRYPTO_CBC=y +CONFIG_CRYPTO_CFB=y +CONFIG_CRYPTO_OFB=y +CONFIG_CRYPTO_XTS=y +CONFIG_CRYPTO_SHA1=y +CONFIG_CRYPTO_SHA512=y +CONFIG_CRYPTO_DES=y CONFIG_CRYPTO_USER_API_HASH=m CONFIG_CRYPTO_USER_API_SKCIPHER=m CONFIG_CRYPTO_DEV_ATMEL_AES=y
Signature · 1 line
2.25.1
Alexandre Belloni
maintainerQuoted 4 lines · Tudor Ambarus
Even since the addition
CONFIG_VIDEO_HANTROwas set to n because it did not respect the dependency chain. It doesn't respect it now either, remove it.
Shouldn't you rather ensure it is enabled so we get it for sama5d4?
Quoted 21 lines
Fixes a0e6830c95b7 ("ARM: configs: at91: sama5: enable the Hantro G1 engine")Signed-off-by Tudor Ambarus <[email protected]>--- arch/arm/configs/sama5_defconfig | 1 - 1 file changed, 1 deletion(-)arch/arm/configs/sama5_defconfig +0
-1@@ -207,7 +207,6 @@ CONFIG_AT_HDMAC=y CONFIG_AT_XDMAC=y CONFIG_STAGING=y CONFIG_STAGING_MEDIA=y -CONFIG_VIDEO_HANTRO=m # CONFIG_IOMMU_SUPPORT is not set CONFIG_IIO=y CONFIG_AT91_ADC=ySignature · 1 line
2.25.1
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 9 lines · Alexandre Belloni
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Quoted 4 lines · Tudor Ambarus
Even since the addition
CONFIG_VIDEO_HANTROwas set to n because it did not respect the dependency chain. It doesn't respect it now either, remove it.Shouldn't you rather ensure it is enabled so we get it for sama5d4?
CONFIG_VIDEO_HANTRO has the following dependency chain:
Depends on: STAGING [=y] && STAGING_MEDIA [=y] && MEDIA_SUPPORT [=y] && (ARCH_MXC [=n] || ARCH_ROCKCHIP [=n] || COMPILE_TEST [=n]) && VIDEO_DEV [=y] && VIDEO_V4L2 [=y]
Maybe a better fix is to add ARCH_AT91 in the list of supported archs. Emil, can you shed some light on this?
Quoted 28 lines
Quoted 20 lines
Fixes a0e6830c95b7 ("ARM: configs: at91: sama5: enable the Hantro G1 engine")Signed-off-by Tudor Ambarus <[email protected]>--- arch/arm/configs/sama5_defconfig | 1 - 1 file changed, 1 deletion(-)arch/arm/configs/sama5_defconfig +0
-2@@ -207,7 +207,6 @@ CONFIG_AT_HDMAC=y CONFIG_AT_XDMAC=y CONFIG_STAGING=y CONFIG_STAGING_MEDIA=y -CONFIG_VIDEO_HANTRO=m # CONFIG_IOMMU_SUPPORT is not set CONFIG_IIO=y CONFIG_AT91_ADC=y --Quoted 2 lines
2.25.1
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com