mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 15:46:39 +07:00
8f461a7302
This patch introduces new 'mtd_can_have_bb()' helper function which checks whether the flash can have bad eraseblocks. Then it changes all the direct 'mtd->block_isbad' use cases with 'mtd_can_have_bb()'. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
mtd_nandecctest.c | ||
mtd_oobtest.c | ||
mtd_pagetest.c | ||
mtd_readtest.c | ||
mtd_speedtest.c | ||
mtd_stresstest.c | ||
mtd_subpagetest.c | ||
mtd_torturetest.c |