[PATCH v2 1/1] mtd: mtdram: Add parameter for setting writebuf size

Artem Bityutskiy dedekind1 at gmail.com
Wed Mar 2 06:32:44 PST 2016


On Wed, 2016-03-02 at 14:06 +0100, Alexander Stein wrote:
> +config MTDRAM_WRITEBUF_SIZE
> +       int "MTDRAM write buf size in Bytes"
> +       depends on MTD_MTDRAM
> +       default "64"
> +       help
> +         This allows you to configure the write buffer size in the
> device
> +         emulated by the MTDRAM driver.  If the MTDRAM driver is
> built
> +         as a module, it is also possible to specify this as a
> parameter when
> +         loading the module. E.g. ubifs relies this in the recovery
> algorithm.

Why another Kconfig option (compile-time) instead of just a module
parameter (run-time), which would be more flexible?



More information about the linux-mtd mailing list