Files
android_kernel_xiaomi_sm8450/drivers/mtd/nand/raw
Boris Brezillon ae2294b10b mtd: rawnand: Pass the CS line to be selected in struct nand_operation
In order to deprecate the ->select_chip hook we need to pass the CS
line a NAND operations are targeting. This is done through the
addition of a cs field to the nand_operation struct.

We also need to keep track of the currently selected target to
properly initialize op->cs, hence the ->cur_cs field addition to the
nand_chip struct.

Note that op->cs is not assigned in nand_exec_op() because we might
rework the way we execute NAND operations in the future (adopt a
queuing mechanism instead of the serialization we have right now).

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Tested-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
2018-12-07 10:38:25 +01:00
..
2018-10-03 11:12:25 +02:00
2018-10-03 11:12:25 +02:00
2018-10-03 11:12:25 +02:00
2018-10-03 11:12:25 +02:00
2018-10-03 11:12:25 +02:00
2018-10-03 11:12:25 +02:00
2018-10-03 11:12:25 +02:00