drivers: nand: brcmnand: add an option to read the write-protect from device tree
authorPhilippe Reynes <philippe.reynes@softathome.com>
Fri, 15 Mar 2019 14:14:38 +0000 (15:14 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 22 Apr 2019 15:55:58 +0000 (11:55 -0400)
commitf917438772c7c7da7f30e9209d9f100edac0255e
tree9a01670820c75ac8ef70c73c547961b0aefddbed
parent317d40eb01a8e194e6e321e71e811d6da03b8365
drivers: nand: brcmnand: add an option to read the write-protect from device tree

The option write-protect may only change on the kernel command line,
we add a property in the device tree to be more flexible.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
drivers/mtd/nand/raw/brcmnand/brcmnand.c