Move flash related flags to the flash driver; refactor accordingly.
[bertos.git] / bertos / io / kblock.h
index 358e089919ff5df928272d81f27e11e23d80e174..f2966bafea2fd4def8512452e760a98f6e03e6c1 100644 (file)
@@ -96,9 +96,6 @@ typedef struct KBlockVTable
 #define KB_CACHE_DIRTY     BV(1) ///< Internal flag: true if the cache is dirty
 #define KB_PARTIAL_WRITE   BV(2) ///< Internal flag: true if the device allows partial block write
 
-#define KB_WRITE_ONCE      BV(3) ///< Allow only the one write on select block.
-#define KB_OPEN_BUFF       BV(4) ///< Open flash memory using page caching, allowing the modification and partial write.
-#define KB_OPEN_UNBUFF     BV(5) ///< Open flash memory whitout memory caching.
 
 /*
  * KBlock private members.