]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: Store nand ID in struct nand_chip
authorMichael Trimarchi <michael@amarulasolutions.com>
Wed, 20 Jul 2022 16:22:05 +0000 (18:22 +0200)
committerMichael Trimarchi <michael@amarulasolutions.com>
Fri, 22 Jul 2022 08:34:02 +0000 (10:34 +0200)
commitbd87603d5a5006b751845507102fc3ae1d8cd57f
tree8ca60b2b10f2b58858960a1a0d1ccaeed10c1bd7
parent1ca6f9483e9ab56fa66b2e922b2df2c9ad609fbb
mtd: nand: Store nand ID in struct nand_chip

Upstream linux commit 7f501f0a72036d.

Store the NAND ID in struct nand_chip to avoid passing id_data and id_len
as function parameters.

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