[PATCH 2/3] ARM: configs: at91: sama7: Enable MTD_UBI_FASTMAP

Nicolas Ferre nicolas.ferre at microchip.com
Thu May 5 06:49:30 PDT 2022


On 20/04/2022 at 15:47, Tudor Ambarus wrote:
> Use fastmap to accelerate the attach procedure.
> 
> Signed-off-by: Tudor Ambarus <tudor.ambarus at microchip.com>
> ---
>   arch/arm/configs/sama7_defconfig | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/configs/sama7_defconfig b/arch/arm/configs/sama7_defconfig
> index 07b0494ef743..03652454274f 100644
> --- a/arch/arm/configs/sama7_defconfig
> +++ b/arch/arm/configs/sama7_defconfig
> @@ -94,6 +94,7 @@ CONFIG_MTD_NAND_ATMEL=y
>   # CONFIG_MTD_NAND_ECC_SW_HAMMING is not set
>   CONFIG_MTD_SPI_NOR=y
>   CONFIG_MTD_UBI=y
> +CONFIG_MTD_UBI_FASTMAP=y
>   CONFIG_BLK_DEV_LOOP=y
>   CONFIG_BLK_DEV_RAM=y
>   CONFIG_BLK_DEV_RAM_COUNT=1
> @@ -221,9 +222,9 @@ CONFIG_CRC_ITU_T=y
>   CONFIG_DMA_CMA=y
>   CONFIG_CMA_SIZE_MBYTES=32
>   CONFIG_CMA_ALIGNMENT=9
> +# CONFIG_DEBUG_MISC is not set
>   # CONFIG_SECTION_MISMATCH_WARN_ONLY is not set
>   CONFIG_DEBUG_FS=y
> -# CONFIG_DEBUG_MISC is not set
>   # CONFIG_SCHED_DEBUG is not set
>   CONFIG_STACKTRACE=y
>   # CONFIG_FTRACE is not set

I understand the rationale of this change, but it should probably go 
into another patch or it's even sometimes done by arm-soc maintainers, 
so I removed it.
No need to resend, I'll remove while applying.

Best regards,
   Nicolas



-- 
Nicolas Ferre



More information about the linux-arm-kernel mailing list