m25p80: Fix QIOR/DIOR handling for Winbond
authorMarcin Krzeminski <marcin.krzeminski@nokia.com>
Thu, 14 Jul 2016 15:51:38 +0000 (16:51 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 14 Jul 2016 15:51:38 +0000 (16:51 +0100)
commitfe8477052831a78ba9de37d008bd81550bc8cf25
treeb9d059664e03311175a31e9abeba4b6560bccd43
parent541ef8c2e73fb99d173b125bef7c262fdd2fe33c
m25p80: Fix QIOR/DIOR handling for Winbond

Winbond also support continuous read mode, but as an opposite for other
flash type read mode clock cycles are included to dummy cycles number.
This path add proper handling of read mode byte and update needed
dummy cycles. QPI mode and dummy cycles configuration are not supported.

Signed-off-by: Marcin Krzeminski <marcin.krzeminski@nokia.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-id: 1467809036-6986-1-git-send-email-marcin.krzeminski@nokia.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/block/m25p80.c