- .readDirect = mt29f_readDirect,
- .writeDirect = mt29f_writeDirect,
-
- .close = kblock_swClose,
-
- .error = mt29f_error,
- .clearerr = mt29f_clearerror,
-};
-
-
-static struct Mt29fHardware mt29f_hw;
-
-
-static void common_init(Mt29f *fls)
-{
- memset(fls, 0, sizeof(*fls));
- DB(fls->blk.priv.type = KBT_MT29F);
-
- fls->hw = &mt29f_hw;
-
- fls->blk.blk_size = MT29F_PAGE_SIZE;
- fls->blk.blk_cnt = MT29F_SIZE / MT29F_PAGE_SIZE;
-