]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: nand: Get rid of busw parameter
authorMichael Trimarchi <michael@amarulasolutions.com>
Wed, 20 Jul 2022 16:22:04 +0000 (18:22 +0200)
committerMichael Trimarchi <michael@amarulasolutions.com>
Fri, 22 Jul 2022 06:30:16 +0000 (08:30 +0200)
commitc045ea686841b2b1a9788331e9922b82e66cd18e
tree53a71472b3f6ed0d11083962b59f7de40306f4be
parentc8f74e9885c849be5929371cb7310e8f4132a77b
mtd: nand: Get rid of busw parameter

Upstream linux commit 29a198a1592d83.

Auto-detection functions are passed a busw parameter to retrieve the actual
NAND bus width and eventually set the correct value in chip->options.
Rework the nand_get_flash_type() function to get rid of this extra
parameter and let detection code directly set the NAND_BUSWIDTH_16 flag in
chip->options if needed.

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
drivers/mtd/nand/raw/nand_base.c