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

Geert Uytterhoeven geert at linux-m68k.org
Tue Feb 11 03:37:25 EST 2014


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

?

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



More information about the linux-mtd mailing list