mtd: ofpart: Replicate mtd cmdline "lk" option with device tree "lock" property
authorJosh Radel <jradel@gmail.com>
Wed, 14 Nov 2012 22:11:32 +0000 (14:11 -0800)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 22 Nov 2012 08:14:22 +0000 (10:14 +0200)
commitab0b00bc6ebcfbff42dedb3bf53f0ece79b27e88
tree7a82a6de10c0a9c87d13e3c7470d3a746ae2733b
parent9b7ef60ce15c5f668c0da30a39ed9b315d3d7ff0
mtd: ofpart: Replicate mtd cmdline "lk" option with device tree "lock" property

The mtd partition command line parser already supports a "lk" option to mask
MTD_POWERUP_LOCK. This extends that same functionality to device tree
partition specifications.

Signed-off-by: Josh Radel <jradel@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/ofpart.c