]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commita5d530e5d54f8052906e7957343185f5a97429a7
tree9a01670820c75ac8ef70c73c547961b0aefddbed
parente9783dbcf08a5b7b783303f76ec717d1c45def44
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