block: m25p80: Add configuration registers
commitcb475951c0e109ba70ecebbf2853dfad5ff20cbb
authorMarcin Krzeminski <marcin.krzeminski@nokia.com>
Wed, 30 Mar 2016 16:27:23 +0000 (30 17:27 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 30 Mar 2016 16:27:23 +0000 (30 17:27 +0100)
tree2e2648a329168a5f9b2cceb7aece638fb07abec0
parentc0f3f6754a120abc3451ebf7a7c703fbaf7b29e7
block: m25p80: Add configuration registers

This patch adds both volatile and non volatile configuration registers
and commands to allow modify them. It is needed for proper handling
dummy cycles. Initialization of those registers and flash state
has been included as well.
Some of this registers are used by kernel.

Signed-off-by: Marcin Krzeminski <marcin.krzeminski@nokia.com>
Acked-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Message-id: 1458719789-29868-7-git-send-email-marcin.krzeminski@nokia.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/block/m25p80.c