]> www.infradead.org Git - mtd-utils.git/commit
check the MLC nand type
authorHuang Shijie <b32955@freescale.com>
Tue, 20 Aug 2013 05:58:37 +0000 (13:58 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 22 Oct 2013 23:19:23 +0000 (16:19 -0700)
commit263e138719f6358c3cf2ce47d6254cebef31dd4b
treefc8b86307b33dff1fb53cc125640da3b500c1e84
parent8e4c8259a59a62cec829edcbd2559006f57fc2aa
check the MLC nand type

In the current code, the MTD_NANDFLASH stands for both the SLC and MLC.

In the kernel, the MTD_NANDFLASH only stands for the SLC now,
so in order to keep the logic unchanged, we should also check the MLC
NAND by MTD_MLCNANDFLASH.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
lib/libmtd.c
ubi-utils/mtdinfo.c