[PATCH 1/1] ubi: Introduce block devices for UBI volumes

Willy Tarreau w at 1wt.eu
Tue Feb 11 04:05:33 EST 2014


On Tue, Feb 11, 2014 at 09:37:25AM +0100, Geert Uytterhoeven wrote:
> On Mon, Feb 10, 2014 at 10:43 PM, Willy Tarreau <w at 1wt.eu> wrote:
> > On Mon, Feb 10, 2014 at 10:39:18PM +0100, Piergiorgio Beruto wrote:
> >> Hi all,
> >> Please, the possibility to disable at compile time unneeded code to save
> >> memory and/or cpu speed would make the life of embedded developers much more
> >> easier.
> >>
> >> Ubiblk was exactly what we were looking for, in my personal opinion the
> >> possibility to disable caching and rw feature is of very high value.
> >
> > Reminds me the happy days of CONFIG_TINY :-)
> > So in practice it's probably just a matter of turning the options to :
> >
> >     Disable Caching (default N, say Y to save memory)
> >     Disable Write support (default N, say Y to reduce code size)
> 
> But then allmodconfig builds will not exercise those code paths.
> 
> Don't you want:
> 
>     bool "Enable Caching" if !EXPERT
>     default y
> 
>     bool "Enable Write support" if !EXPERT
>     default y
> 
> ?

Sounds like an excellent idea!

Willy




More information about the linux-mtd mailing list