]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: Rename nand_get_flash_type() into nand_detect()
authorMichael Trimarchi <michael@amarulasolutions.com>
Mon, 25 Jul 2022 08:18:51 +0000 (10:18 +0200)
committerMichael Trimarchi <michael@amarulasolutions.com>
Mon, 22 Aug 2022 09:15:15 +0000 (11:15 +0200)
commit6cda1dc210304d8d74fd3c4b98b80b47ba1982c1
treed6a5e5fd883dec37a18daeb0bebb198a1e1cc78e
parentc76f9ddf91b14312e71594459ebb3dd72d885aa8
mtd: nand: Rename nand_get_flash_type() into nand_detect()

Upstream linux commit 7bb427990ee364.

Rename the function to match this new behavior.

NOTE: fix nand_detect/nand_get_flash_type parameters in
mxs_nand_spl. This code seems never executed by any board
as alternative for nand detect

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Reviewed-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
drivers/mtd/nand/raw/mt7621_nand.c
drivers/mtd/nand/raw/mxs_nand_spl.c
drivers/mtd/nand/raw/nand_base.c
include/linux/mtd/rawnand.h