UBI: provide an helper to check whether a LEB is mapped or not
This is part of the process of hiding UBI EBA's internal to other part of
the UBI implementation, so that we can add new information to the EBA
table without having to patch different places in the UBI code.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 9f51b1b commit ea45f03e17a0dc6f2ca01bbc6842a36b4a27a3c2
@Boris Brezillon Boris Brezillon authored on 29 Aug 2018
Sascha Hauer committed on 31 Aug 2018
Showing 3 changed files
View
drivers/mtd/ubi/eba.c
View
drivers/mtd/ubi/kapi.c
View
drivers/mtd/ubi/ubi.h