]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: Add manufacturer specific initialization/detection steps
authorMichael Trimarchi <michael@amarulasolutions.com>
Wed, 20 Jul 2022 16:22:06 +0000 (18:22 +0200)
committerMichael Trimarchi <michael@amarulasolutions.com>
Fri, 22 Jul 2022 08:34:02 +0000 (10:34 +0200)
commitb8cd2df5198c11360d514cd8529da992848d83b3
treee6cc2541d53164b874d27fcbcb325bbd5e8f3753
parentbd87603d5a5006b751845507102fc3ae1d8cd57f
mtd: nand: Add manufacturer specific initialization/detection steps

Upstream linux commit abbe26d144ec22.

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: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
drivers/mtd/nand/raw/nand_base.c
include/linux/mtd/rawnand.h