diff mbox series

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

Message ID 20220420134740.193563-2-tudor.ambarus@microchip.com (mailing list archive)
State New, archived
Headers show
Series [1/3] ARM: configs: at91: Remove MTD_BLOCK and use MTD_UBI_BLOCK for read only block FS | expand

Commit Message

Tudor Ambarus April 20, 2022, 1:47 p.m. UTC
Use fastmap to accelerate the attach procedure.

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

Comments

Nicolas Ferre May 5, 2022, 1:49 p.m. UTC | #1
On 20/04/2022 at 15:47, Tudor Ambarus wrote:
> Use fastmap to accelerate the attach procedure.
> 
> Signed-off-by: Tudor Ambarus <tudor.ambarus@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
diff mbox series

Patch

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