[DeviceDrivers] Add RT_MTD_EECC_CORRECT code in MTD nand.

This commit is contained in:
Bernard Xiong 2016-04-18 13:56:38 +08:00
parent 33cda0866f
commit a3daa62151
1 changed files with 41 additions and 40 deletions

View File

@ -41,6 +41,7 @@ struct rt_mtd_nand_driver_ops;
#define RT_MTD_EIO 3 /* generic IO issue */
#define RT_MTD_ENOMEM 4 /* out of memory */
#define RT_MTD_ESRC 5 /* source issue */
#define RT_MTD_EECC_CORRECT 6 /* ECC error but correct */
struct rt_mtd_nand_device
{