]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: partitions: ofpart: Parse the slc-mode property
authorBoris Brezillon <bbrezillon@kernel.org>
Sun, 3 May 2020 15:53:39 +0000 (17:53 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 11 May 2020 07:51:42 +0000 (09:51 +0200)
commitaa296fe5799b93d0ec24055d9d6d048a9bb49ace
tree7001abdedff6cdfe9500c834bd6ad89738a15155
parent62d6a97e39bacd0f4bdf3236937cdd4a3d515166
mtd: partitions: ofpart: Parse the slc-mode property

Parse the slc-mode property and set the MTD_MLC_IN_SLC_MODE flag
when present.

Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200503155341.16712-7-miquel.raynal@bootlin.com
drivers/mtd/parsers/ofpart.c