]> git.dujemihanovic.xyz Git - u-boot.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)
commit1ca6f9483e9ab56fa66b2e922b2df2c9ad609fbb
tree53a71472b3f6ed0d11083962b59f7de40306f4be
parent2996b6405e9522082b53ded0392438830ad6c43a
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