summaryrefslogtreecommitdiff
path: root/tests/ubi-tests
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2013-10-24 18:59:51 +0800
committerBrian Norris <computersforpeace@gmail.com>2013-10-24 10:51:21 -0700
commit89c22de378aba3e57f15b57af464e34bc0d38291 (patch)
tree9318f95f4d4666274c2cc3faf11da93a6b231bf8 /tests/ubi-tests
parent263e138719f6358c3cf2ce47d6254cebef31dd4b (diff)
flash_erase: check the nand type
Now, the MTD_NANDFLASH stands for SLC nand, and the MTD_MLCNANDFLASH stands for the MLC nand. This patch includes the stdbool.h, and changes the "isNAND" to boolean type, and checks the right nand type for the MLC and SLC nand. If the user wants to format a MLC nand for JFFS2, we will print out a message to warn him, and exit right now. Signed-off-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'tests/ubi-tests')
0 files changed, 0 insertions, 0 deletions