]> Git Repo - qemu.git/commit - hw/block/pflash_cfi01.c
Add device-width property to pflash_cfi01
authorRoy Franz <[email protected]>
Tue, 17 Dec 2013 19:42:26 +0000 (19:42 +0000)
committerPeter Maydell <[email protected]>
Tue, 17 Dec 2013 19:42:26 +0000 (19:42 +0000)
commit1997b48527c38fe8cdbbb3df82ed79aa3ee88b83
treef39eb4c4a6806072d273d1f774724c0b87409b47
parent4b6fedcac0f51157ef042cde80d5dc5d0c9ef8a4
Add device-width property to pflash_cfi01

The width of the devices that make up the flash interface
is required to mask certain commands, in particular the
write length for buffered writes.  This length will be presented
to each device on the interface by the program writing the flash,
and the flash emulation code needs to be able to determine
the length of the write as recieved by each flash device.
The device-width defaults to the bank width which should
maintain existing behavior for platforms that don't need
this change.
This change is required to support buffered writes on the
vexpress platform that has a 32 bit flash interface with 2
16 bit devices on it.

Signed-off-by: Roy Franz <[email protected]>
Message-id: 1386279359[email protected]
Signed-off-by: Peter Maydell <[email protected]>
hw/block/pflash_cfi01.c
This page took 0.025447 seconds and 4 git commands to generate.