Thread (1 message) 1 message, 1 author, 2012-02-07

Re: [PATCH 4/6 V2] of/mtd/nand: add generic bindings and helpers

From: Jean-Christophe PLAGNIOL-VILLARD <hidden>
Date: 2012-02-07 10:10:49
Also in: linux-arm-kernel

On 10:45 Tue 07 Feb     , Stefan Roese wrote:
On Tuesday 07 February 2012 05:16:06 Jean-Christophe PLAGNIOL-VILLARD wrote:
quoted
quoted
quoted
- nand-on-flash-bbt: boolean to enable on flash bbt option if not
present false
Why not use an "empty" type (without argument) for nand-on-flash-bbt
then?
I want to be able to disable it
Then just don't add this property.
except if it's it done via include a cpu module enable it but the motherboard
dts want to disable it
 
quoted
I send a patch to add a helper to manage boolean

this will allow to disable a boolean

    is-ok;          => true
    is-ok = <1>;    => true
    is-ok = <0>;    => false

Best Regrds,
J.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help