Skip to content
Snippets Groups Projects
Commit f509dfee authored by Marcin Krzeminski's avatar Marcin Krzeminski Committed by Peter Maydell
Browse files

block: m25p80: Introduce die erase command


Modern big flash NOR devices consist of more than one die.
Some of them do not support chip erase and instead have a die
erase command that can erase one die only. This commit adds
support for defining the number of dies in the chip, and adds
support for die erase command.

The NOR flash model is not strict, so no option to
disable chip erase has been added.

Signed-off-by: default avatarMarcin Krzeminski <mar.krzeminski@gmail.com>
Reviewed-by: default avatarCédric Le Goater <clg@kaod.org>
Reviewed-by: default avatarEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 20170108083854.5006-3-mar.krzeminski@gmail.com
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent 597c15f0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment