diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-01-28 14:07:54 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-01-28 14:23:37 +0100 |
commit | eaa3484ad66da8912e19fa5a4bdceea86dddc4d4 (patch) | |
tree | 65e8c870a248e2c7e65c830e7339d52742666f1d /common/ubiformat.c | |
parent | 1b6253ab991d272adf8c84b0a6063b4076253d61 (diff) | |
download | barebox-eaa3484ad66da8912e19fa5a4bdceea86dddc4d4.tar.gz barebox-eaa3484ad66da8912e19fa5a4bdceea86dddc4d4.tar.xz |
mtd: peb: Add function to skip bad blocks
This adds a function that given a pointer to a PEB number increases the
number until the corresponding PEB is good. It also checks for the PEB
number being inside the mtd device.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/ubiformat.c')
0 files changed, 0 insertions, 0 deletions