commit | 8a99be84a20b296e2bf3bcbd1a774c93dfa70f31 | [log] [tgz] |
---|---|---|
author | Steve Rae <srae@broadcom.com> | Tue Jun 07 11:19:38 2016 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Jun 27 16:37:39 2016 -0400 |
tree | 7ccf1a26328276f817dd8c0336ac8b74d911d28b | |
parent | 76336b2a9dc9b8b4dcc809fed97d1e370c9509b2 [diff] |
fastboot: sparse: implement reserve() In order to process the CHUNK_TYPE_DONT_CARE properly, there is a requirement to be able to 'reserve' a specified number of blocks in the storage media. Because of the special handling of "bad blocks" in NAND devices, this is implemented in a storage abstraction function. Signed-off-by: Steve Rae <srae@broadcom.com> Reviewed-by: Maxime Ripard <maxime.ripard@free-electrons.com>