[PATCH 6/6] mtd: ubi: provide NVMEM layer over UBI volumes

Randy Dunlap rdunlap at infradead.org
Mon Jul 31 14:54:58 PDT 2023



On 7/31/23 12:14, Daniel Golle wrote:
> diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig
> index 2ed77b7b3fcb5..45d939bbfa853 100644
> --- a/drivers/mtd/ubi/Kconfig
> +++ b/drivers/mtd/ubi/Kconfig
> @@ -104,4 +104,16 @@ config MTD_UBI_BLOCK
>  
>  	   If in doubt, say "N".
>  
> +config MTD_UBI_NVMEM
> +	tristate "UBI virtual NVMEM"
> +	default n
> +	depends on NVMEM
> +	help
> +	   This option enabled an additional driver exposing UBI volumes as NVMEM

	               enables

> +	   providers, intended for platforms where UBI is part of the firmware
> +	   specification and used to store also e.g. MAC addresses or board-
> +	   specific Wi-Fi calibration data.
> +
> +	   If in doubt, say "N".

and Kconfig help text should be indented with one tab + 2 spaces
according to coding-style.rst.

> +
>  endif # MTD_UBI

-- 
~Randy



More information about the linux-mtd mailing list