Skip to content
Commit 5bf17237 authored by Alexander Belyakov's avatar Alexander Belyakov Committed by David Woodhouse
Browse files

[JFFS2] Write buffer offset adjustment for NOR-ECC (Sibley) flash



After choosing new c->nextblock, don't leave the wbuf offset field
occasionally pointing at the start of the next physical eraseblock.
This was causing a BUG() on NOR-ECC (Sibley) flash, where we start
writing after the cleanmarker.

Among other this fix should cover write buffer offset adjustment
after flushing the last page of an eraseblock.

Signed-off-by: default avatarAlexander Belyakov <abelyako@googlemail.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 43b5693d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment