]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0b5b441dc37ac444658147d0f454b513910d1c78
tree6c8f032e953695131e2eb2872b2d6e37fc086ff9
parent39dce58fa423859ab75e6ca26a7df64140b57624
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