summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/wl.h
Commit message (Collapse)AuthorAgeFilesLines
* UBI: Fastmap: Remove is_fm_block()Richard Weinberger2015-03-261-5/+0
| | | | | | | | | | This function was added to fastmap in a very early stage to have paranoid assertions. With the current fastmap implementation this assert will never trigger as fastmap PEBs are not seen by the WL sub-system. Remove it to save us some CPU cycles. Signed-off-by: Richard Weinberger <richard@nod.at>
* UBI: Fastmap: Introduce may_reserve_for_fm()Richard Weinberger2015-03-261-0/+8
| | | | | | ...and kill another #ifdef. Signed-off-by: Richard Weinberger <richard@nod.at>
* UBI: Fastmap: Introduce ubi_fastmap_init()Richard Weinberger2015-03-261-0/+7
| | | | | | ...and kill another #ifdef in wl.c. :-) Signed-off-by: Richard Weinberger <richard@nod.at>
* UBI: Move fastmap specific functions out of wl.cRichard Weinberger2015-03-261-0/+18
Fastmap is tightly connected to the WL sub-system, many fastmap-specific functionslive in wl.c. To get rid of most #ifdefs in wl.c move this functions into a new file and include it into wl.c Signed-off-by: Richard Weinberger <richard@nod.at>
OpenPOWER on IntegriCloud