Skip to content
Commit 2c724046 authored by Steve Rae's avatar Steve Rae Committed by Tom Rini
Browse files

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: default avatarSteve Rae <srae@broadcom.com>
Reviewed-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 9bc34799
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment