]> git.sur5r.net Git - u-boot/commit
fastboot: nand: Add pre erase and write hooks
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 15 Oct 2015 12:34:18 +0000 (14:34 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 12 Nov 2015 18:18:58 +0000 (13:18 -0500)
commit6fb77c48e40c15afcc67bb8d3b5d7d300883d293
tree909e7c13de8d7ca38e6e76487820325baac3db40
parentbf8940d35b91ef87e0e4e691c5d8cc356fcae035
fastboot: nand: Add pre erase and write hooks

Some devices might need to do some per-partition initialization
(ECC/Randomizer settings change for example) before actually accessing it.

Add some hooks before the write and erase operations to let the boards
define what they need to do if needed.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/fb_nand.c