This patch set does a few things. First, it switches the AMD CFI flash MMIO
operations from the old MMIO API to the new one. Second, it enables 8-byte wide
flash arrays. Finally, it adds flash interleaving using the "device-width" and
"max-device-width" properties, using the same interface as pflash_cfi01.c. Much
of the code was taken and adapted from that file.
Version 3 of the patch splits the patch set into distinct patches based on the
modified functionality.
Mike Nawrocki (3):
Switch AMD CFI flash to use new MMIO API
Enable 8-byte wide access to AMD CFI devices
Add partial flash interleaving to AMD CFI devices
hw/block/pflash_cfi02.c | 478 +++++++++++++++++++++++++++++++++---------------
1 file changed, 326 insertions(+), 152 deletions(-)
--
2.14.2