u-boot/include/linux/mtd
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
..
bbm.h Convert CONFIG_SYS_NAND_MAX_CHIPS to Kconfig 2021-10-06 09:16:24 -04:00
cfi.h mtd: spi: Port SPI NOR framework from Linux 2019-02-07 15:33:21 +05:30
concat.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
doc2000.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
flashchip.h WS cleanup: remove excessive empty lines 2021-09-30 08:08:56 -04:00
fsl_upm.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsmc_nand.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mtd.h mtd: Remove mtd_erase_callback() entirely 2021-10-23 15:47:33 +05:30
nand.h spi: Tidy up get/set of device node 2021-01-05 12:24:41 -07:00
nand_bch.h mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
nand_ecc.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ndfc.h
omap_elm.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
omap_gpmc.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
onenand.h
onenand_regs.h
partitions.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
rawnand.h WS cleanup: remove trailing white space 2021-09-30 08:08:56 -04:00
samsung_onenand.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spi-nor.h mtd: spi: nor: force mtd name to "nor%d" 2021-09-28 12:03:20 -04:00
spinand.h spi: Tidy up get/set of device node 2021-01-05 12:24:41 -07:00
ubi.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00