u-boot/fs/yaffs2
Marek Behún 0d1ecc99cb mtd: Remove mtd_erase_callback() entirely
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>
2021-10-23 15:47:33 +05:30
..
Kconfig Convert CONFIG_CMD_YAFFS2 to Kconfig 2017-08-11 17:44:50 -04:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
yaffs_allocator.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
yaffs_allocator.h
yaffs_attribs.c
yaffs_attribs.h
yaffs_bitmap.c
yaffs_bitmap.h
yaffs_checkptrw.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
yaffs_checkptrw.h
yaffs_ecc.c
yaffs_ecc.h
yaffs_error.c
yaffs_flashif.h
yaffs_flashif2.h
yaffs_getblockinfo.h
yaffs_guts.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
yaffs_guts.h
yaffs_mtdif.c mtd: Remove mtd_erase_callback() entirely 2021-10-23 15:47:33 +05:30
yaffs_mtdif.h
yaffs_mtdif2.c common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
yaffs_mtdif2.h
yaffs_nameval.c
yaffs_nameval.h
yaffs_nand.c
yaffs_nand.h
yaffs_nandemul2k.h
yaffs_nandif.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
yaffs_nandif.h
yaffs_osglue.h
yaffs_packedtags1.c
yaffs_packedtags1.h
yaffs_packedtags2.c
yaffs_packedtags2.h
yaffs_qsort.c common: Move sorting functions to their own header file 2019-12-02 18:23:08 -05:00
yaffs_summary.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
yaffs_summary.h
yaffs_tagscompat.c
yaffs_tagscompat.h
yaffs_trace.h
yaffs_uboot_glue.c nand.h: Cleanup linux/mtd/rawnand.h usage 2021-10-06 09:16:23 -04:00
yaffs_verify.c
yaffs_verify.h
yaffs_yaffs1.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
yaffs_yaffs1.h
yaffs_yaffs2.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
yaffs_yaffs2.h
yaffscfg.h
yaffsfs.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
yaffsfs.h
ydirectenv.h
yportenv.h common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00