mtd: rawnand: add an option to specify NAND chip as a boot device
authorStefan Agner <stefan@agner.ch>
Sun, 24 Jun 2018 21:27:23 +0000 (23:27 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 2 Jul 2018 07:01:52 +0000 (09:01 +0200)
commitf922bd798bb94e0adcce26ddd811245443173268
tree6c8f032e953695131e2eb2872b2d6e37fc086ff9
parentf308d7353d1f5c3ddedc784a367edc72fc51bbaa
mtd: rawnand: add an option to specify NAND chip as a boot device

Allow to define a NAND chip as a boot device. This can be helpful
for the selection of the ECC algorithm and strength in case the boot
ROM supports only a subset of controller provided options.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Documentation/devicetree/bindings/mtd/nand.txt
drivers/mtd/nand/raw/nand_base.c
include/linux/mtd/rawnand.h