]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: nand: Show reserved block in chip.erase
authorMichael Trimarchi <michael@amarulasolutions.com>
Mon, 27 Feb 2023 15:01:43 +0000 (16:01 +0100)
committerDario Binacchi <dario.binacchi@amarulasolutions.com>
Mon, 27 Feb 2023 15:30:13 +0000 (16:30 +0100)
commit2e0b71aa5f8b222868954bf4cbd918ede454aa10
tree5f3c36aa6c59efa5d3a937440578861b59228032
parent478f560b72a0d4135d879546608fdb8de80a4b4d
mtd: nand: Show reserved block in chip.erase

The "nand chip.erase" command always printed as bad blocks even in the
case of reserved blocks. Reserved blocks are used for storing bad block
tables. The patch displays "bbt reserved" when printing reserved blocks in
"nand chip.erase" command.

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