Thread (12 messages) 12 messages, 3 authors, 2012-02-21

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

flat view

From: Jean-Christophe PLAGNIOL-VILLARD <hidden>
Date: 2012-02-07 04:16:06
Also in: linux-devicetree

On 17:20 Mon 06 Feb     , Stefan Roese wrote:
Hi Jean-Christophe,

On Monday 06 February 2012 11:35:11 Jean-Christophe PLAGNIOL-VILLARD wrote:
quoted
- nand-ecc-mode : String, operation mode of the NAND ecc mode.
  Supported values are: "none", "soft", "hw", "hw_syndrome",
"hw_oob_first", "soft_bch".
- nand-bus-width : 8 or 16 bus width if not present 8
- 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

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 Regards,
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