diff mbox series

ARM: configs: at91: sama7: Enable UBIFS_FS

Message ID 20220202070244.150022-1-tudor.ambarus@microchip.com (mailing list archive)
State New, archived
Headers show
Series ARM: configs: at91: sama7: Enable UBIFS_FS | expand

Commit Message

Tudor Ambarus Feb. 2, 2022, 7:02 a.m. UTC
sama7g5 contains a Static Memory Controller that can communicate with
NAND flashes. Enable UBIFS_FS in case one wants to put an ubifs rootfs
on a NAND flash. CONFIG_CRYPTO_LZO and CONFIG_CRYPTO_DEFLATE appear as
removed because they are selected by CONFIG_UBIFS_FS.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
---
 arch/arm/configs/sama7_defconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Nicolas Ferre Feb. 3, 2022, 11:16 a.m. UTC | #1
On 02/02/2022 at 08:02, Tudor Ambarus wrote:
> sama7g5 contains a Static Memory Controller that can communicate with
> NAND flashes. Enable UBIFS_FS in case one wants to put an ubifs rootfs
> on a NAND flash. CONFIG_CRYPTO_LZO and CONFIG_CRYPTO_DEFLATE appear as
> removed because they are selected by CONFIG_UBIFS_FS.
> 
> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Thanks Tudor. Best regards,
   Nicolas

> ---
>   arch/arm/configs/sama7_defconfig | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/configs/sama7_defconfig b/arch/arm/configs/sama7_defconfig
> index 342d9f30d9d2..c12278174579 100644
> --- a/arch/arm/configs/sama7_defconfig
> +++ b/arch/arm/configs/sama7_defconfig
> @@ -86,6 +86,7 @@ CONFIG_MTD_RAW_NAND=y
>   CONFIG_MTD_NAND_ATMEL=y
>   # CONFIG_MTD_NAND_ECC_SW_HAMMING is not set
>   CONFIG_MTD_SPI_NOR=y
> +CONFIG_MTD_UBI=y
>   CONFIG_BLK_DEV_LOOP=y
>   CONFIG_BLK_DEV_RAM=y
>   CONFIG_BLK_DEV_RAM_COUNT=1
> @@ -187,6 +188,7 @@ CONFIG_EXT3_FS=y
>   CONFIG_FANOTIFY=y
>   CONFIG_VFAT_FS=y
>   CONFIG_TMPFS=y
> +CONFIG_UBIFS_FS=y
>   CONFIG_NFS_FS=y
>   CONFIG_ROOT_NFS=y
>   CONFIG_NLS_CODEPAGE_437=y
> @@ -194,8 +196,6 @@ CONFIG_NLS_CODEPAGE_850=y
>   CONFIG_NLS_ISO8859_1=y
>   CONFIG_NLS_UTF8=y
>   CONFIG_LSM="N"
> -CONFIG_CRYPTO_DEFLATE=y
> -CONFIG_CRYPTO_LZO=y
>   # CONFIG_CRYPTO_HW is not set
>   CONFIG_CRC_CCITT=y
>   CONFIG_CRC_ITU_T=y
Nicolas Ferre Feb. 24, 2022, 6:53 p.m. UTC | #2
On 03/02/2022 at 12:16, Nicolas Ferre wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> On 02/02/2022 at 08:02, Tudor Ambarus wrote:
>> sama7g5 contains a Static Memory Controller that can communicate with
>> NAND flashes. Enable UBIFS_FS in case one wants to put an ubifs rootfs
>> on a NAND flash. CONFIG_CRYPTO_LZO and CONFIG_CRYPTO_DEFLATE appear as
>> removed because they are selected by CONFIG_UBIFS_FS.
>>
>> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
> 
> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
> Thanks Tudor. Best regards,
>     Nicolas

Applied to at91-defconfig for 5.18.
Regards,
   Nicolas


> 
>> ---
>>    arch/arm/configs/sama7_defconfig | 4 ++--
>>    1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/arch/arm/configs/sama7_defconfig b/arch/arm/configs/sama7_defconfig
>> index 342d9f30d9d2..c12278174579 100644
>> --- a/arch/arm/configs/sama7_defconfig
>> +++ b/arch/arm/configs/sama7_defconfig
>> @@ -86,6 +86,7 @@ CONFIG_MTD_RAW_NAND=y
>>    CONFIG_MTD_NAND_ATMEL=y
>>    # CONFIG_MTD_NAND_ECC_SW_HAMMING is not set
>>    CONFIG_MTD_SPI_NOR=y
>> +CONFIG_MTD_UBI=y
>>    CONFIG_BLK_DEV_LOOP=y
>>    CONFIG_BLK_DEV_RAM=y
>>    CONFIG_BLK_DEV_RAM_COUNT=1
>> @@ -187,6 +188,7 @@ CONFIG_EXT3_FS=y
>>    CONFIG_FANOTIFY=y
>>    CONFIG_VFAT_FS=y
>>    CONFIG_TMPFS=y
>> +CONFIG_UBIFS_FS=y
>>    CONFIG_NFS_FS=y
>>    CONFIG_ROOT_NFS=y
>>    CONFIG_NLS_CODEPAGE_437=y
>> @@ -194,8 +196,6 @@ CONFIG_NLS_CODEPAGE_850=y
>>    CONFIG_NLS_ISO8859_1=y
>>    CONFIG_NLS_UTF8=y
>>    CONFIG_LSM="N"
>> -CONFIG_CRYPTO_DEFLATE=y
>> -CONFIG_CRYPTO_LZO=y
>>    # CONFIG_CRYPTO_HW is not set
>>    CONFIG_CRC_CCITT=y
>>    CONFIG_CRC_ITU_T=y
> 
> 
> --
> Nicolas Ferre
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff mbox series

Patch

diff --git a/arch/arm/configs/sama7_defconfig b/arch/arm/configs/sama7_defconfig
index 342d9f30d9d2..c12278174579 100644
--- a/arch/arm/configs/sama7_defconfig
+++ b/arch/arm/configs/sama7_defconfig
@@ -86,6 +86,7 @@  CONFIG_MTD_RAW_NAND=y
 CONFIG_MTD_NAND_ATMEL=y
 # CONFIG_MTD_NAND_ECC_SW_HAMMING is not set
 CONFIG_MTD_SPI_NOR=y
+CONFIG_MTD_UBI=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_COUNT=1
@@ -187,6 +188,7 @@  CONFIG_EXT3_FS=y
 CONFIG_FANOTIFY=y
 CONFIG_VFAT_FS=y
 CONFIG_TMPFS=y
+CONFIG_UBIFS_FS=y
 CONFIG_NFS_FS=y
 CONFIG_ROOT_NFS=y
 CONFIG_NLS_CODEPAGE_437=y
@@ -194,8 +196,6 @@  CONFIG_NLS_CODEPAGE_850=y
 CONFIG_NLS_ISO8859_1=y
 CONFIG_NLS_UTF8=y
 CONFIG_LSM="N"
-CONFIG_CRYPTO_DEFLATE=y
-CONFIG_CRYPTO_LZO=y
 # CONFIG_CRYPTO_HW is not set
 CONFIG_CRC_CCITT=y
 CONFIG_CRC_ITU_T=y