remove part of uffs configuration to rtconfig.h

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2464 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
goprife@gmail.com 2012-12-02 14:28:53 +00:00
parent bcaf1d5093
commit 6de2d5fe9f
1 changed files with 3 additions and 2 deletions

View File

@ -13,10 +13,11 @@
#define UFFS_BLOCK_MARK_SPARE_OFFSET 4 /* indicate block bad or good, offset in spare */
#define RT_CONFIG_UFFS_ECC_MODE UFFS_ECC_SOFT
//#define RT_CONFIG_UFFS_ECC_MODE UFFS_ECC_SOFT
//#define RT_CONFIG_UFFS_ECC_MODE UFFS_ECC_NONE
/* enable this ,you need provide a mark_badblock/check_block funciton */
#define RT_UFFS_USE_CHECK_MARK_FUNCITON
//#define RT_UFFS_USE_CHECK_MARK_FUNCITON
#if RT_CONFIG_UFFS_ECC_MODE == UFFS_ECC_SOFT /* let uffs do soft ecc */