diff options
author | Huang Shijie <b32955@freescale.com> | 2013-10-24 18:59:51 +0800 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2013-10-24 10:51:21 -0700 |
commit | 89c22de378aba3e57f15b57af464e34bc0d38291 (patch) | |
tree | 9318f95f4d4666274c2cc3faf11da93a6b231bf8 /jittertest | |
parent | 263e138719f6358c3cf2ce47d6254cebef31dd4b (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 'jittertest')
0 files changed, 0 insertions, 0 deletions