The original purpose of mtd_erase_callback() in Linux at the time it was imported to U-Boot, was to inform the caller that erasing is done (since it was an asynchronous operation). All supplied callback methods in U-Boot do nothing, but the mtd_erase_callback() function was (until previous patch) grossly abused in U-Boot's mtdpart implementation for completely different purpose. Since we got rid of the abusement, remove the mtd_erase_callback() function and the .callback member from struct erase_info entirely, in order to avoid such problems in the future. Signed-off-by: Marek Behún <marek.behun@nic.cz> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| yaffs_allocator.c | ||
| yaffs_allocator.h | ||
| yaffs_attribs.c | ||
| yaffs_attribs.h | ||
| yaffs_bitmap.c | ||
| yaffs_bitmap.h | ||
| yaffs_checkptrw.c | ||
| yaffs_checkptrw.h | ||
| yaffs_ecc.c | ||
| yaffs_ecc.h | ||
| yaffs_error.c | ||
| yaffs_flashif.h | ||
| yaffs_flashif2.h | ||
| yaffs_getblockinfo.h | ||
| yaffs_guts.c | ||
| yaffs_guts.h | ||
| yaffs_mtdif.c | ||
| yaffs_mtdif.h | ||
| yaffs_mtdif2.c | ||
| yaffs_mtdif2.h | ||
| yaffs_nameval.c | ||
| yaffs_nameval.h | ||
| yaffs_nand.c | ||
| yaffs_nand.h | ||
| yaffs_nandemul2k.h | ||
| yaffs_nandif.c | ||
| yaffs_nandif.h | ||
| yaffs_osglue.h | ||
| yaffs_packedtags1.c | ||
| yaffs_packedtags1.h | ||
| yaffs_packedtags2.c | ||
| yaffs_packedtags2.h | ||
| yaffs_qsort.c | ||
| yaffs_summary.c | ||
| yaffs_summary.h | ||
| yaffs_tagscompat.c | ||
| yaffs_tagscompat.h | ||
| yaffs_trace.h | ||
| yaffs_uboot_glue.c | ||
| yaffs_verify.c | ||
| yaffs_verify.h | ||
| yaffs_yaffs1.c | ||
| yaffs_yaffs1.h | ||
| yaffs_yaffs2.c | ||
| yaffs_yaffs2.h | ||
| yaffscfg.h | ||
| yaffsfs.c | ||
| yaffsfs.h | ||
| ydirectenv.h | ||
| yportenv.h | ||