]> git.baikalelectronics.ru Git - uboot.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)
commitb65d85ba93ded108b3520ccfc1cde587fb11d361
treee6cc2541d53164b874d27fcbcb325bbd5e8f3753
parentae92a6ffd9d15c1850468705d879c8b0fece7d11
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