u-boot/drivers/mtd/onenand
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
..
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
onenand_base.c mtd: Remove mtd_erase_callback() entirely 2021-10-23 15:47:33 +05:30
onenand_bbt.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
onenand_spl.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
onenand_uboot.c mtd: rename CONFIG_MTD_DEVICE -> CONFIG_MTD 2019-12-03 23:04:10 -05:00
samsung.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00