]> git.baikalelectronics.ru Git - uboot.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)
commitae92a6ffd9d15c1850468705d879c8b0fece7d11
tree8ca60b2b10f2b58858960a1a0d1ccaeed10c1bd7
parentc045ea686841b2b1a9788331e9922b82e66cd18e
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