Mercurial > flash_v2
comparison packages/fs/jffs2/current/src/flashio.c @ 1705:99834d6b6eeb
* tests/fileio1.c (main): If we have two filesystem configured
mount the second one on /mnt and list the root of it.
* src/fs-ecos.c (jffs2_fo_write): Fixed a typo in a debug print
which is normally disabled.
* src/fs-ecos.c (jffs2_fo_lseek): Put back part of the fix for
lseeking past the end of the file which was removed during the last
merge with MTD.
* src/flashio.c (jffs2_flash_erase): Minor update for new
flash API.
| author | asl |
|---|---|
| date | Thu, 05 Aug 2004 13:41:33 +0000 |
| parents | cd7d2afbc7dd |
| children |
comparison
equal
deleted
inserted
replaced
| 1704:d4ce7bf7bdb7 | 1705:99834d6b6eeb |
|---|---|
| 142 | 142 |
| 143 cyg_bool jffs2_flash_erase(struct jffs2_sb_info * c, | 143 cyg_bool jffs2_flash_erase(struct jffs2_sb_info * c, |
| 144 struct jffs2_eraseblock * jeb) | 144 struct jffs2_eraseblock * jeb) |
| 145 { | 145 { |
| 146 cyg_io_flash_getconfig_erase_t e; | 146 cyg_io_flash_getconfig_erase_t e; |
| 147 void *err_addr; | 147 cyg_flashaddr_t err_addr; |
| 148 Cyg_ErrNo err; | 148 Cyg_ErrNo err; |
| 149 cyg_uint32 len = sizeof (e); | 149 cyg_uint32 len = sizeof (e); |
| 150 struct super_block *sb = OFNI_BS_2SFFJ(c); | 150 struct super_block *sb = OFNI_BS_2SFFJ(c); |
| 151 | 151 |
| 152 e.offset = jeb->offset; | 152 e.offset = jeb->offset; |
