]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: Add manufacturer specific initialization/detection steps
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 8 Jun 2016 07:32:55 +0000 (09:32 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 8 Mar 2017 22:21:19 +0000 (23:21 +0100)
commit5750b9016f550931dc3b22acdab9d934e5763546
tree943357d183177f4fe5a4a23f8a2063461c09ab8c
parent59757ec97cb212f8efe2be8a317aaff5586e3498
mtd: nand: Add manufacturer specific initialization/detection steps

A lot of NANDs are implementing generic features in a non-generic way,
or are providing advanced auto-detection logic where the NAND ID bytes
meaning changes with the NAND generation.

Providing this vendor specific initialization step will allow us to get
rid of full-id entries in the nand_ids table or all the vendor specific
cases added over the time in the generic NAND ID decoding logic.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h