History | View | Annotate | Download (30.2 kB)
Add max device width parameter for NOR devices
For handling CFI and device ID reads, we need to not only know thewidth that a NOR flash device is configured for, but also its maximumwidth. The maximum width addressing mode is used for multi-widthparts no matter which width they are configured for. The most common...
Fix CFI query responses for NOR flash
This change fixes the CFI query responses to handle NOR devicewidths that are different from the bank width. Support is alsoadded for multi-width devices in a x8 configuration. This istypically x8/x16 devices, but the CFI specification mentions...
Fix NOR flash device ID reading
Fix NOR flash manufacturer and device ID reading. This nowproperly takes into account device widths and device max widthsas required. The reading of these IDs uses the same max_widthdependent addressing as CFI queries....
rename pflash_t member width to bank_width
Rename the 'width' member of the pflash_t structurein preparation for adding a bank_width member.
Signed-off-by: Roy Franz <roy.franz@linaro.org>Reviewed-by: Peter Maydell <peter.maydell@linaro.org>Message-id: 1386279359-32286-2-git-send-email-roy.franz@linaro.org...
Add device-width property to pflash_cfi01
The width of the devices that make up the flash interfaceis required to mask certain commands, in particular thewrite length for buffered writes. This length will be presentedto each device on the interface by the program writing the flash,...
return status for each NOR flash device
Now that we know how wide each flash device that makes up the bank is,return status for each device in the bank. Leave existing codethat treats 32 bit wide banks as composed of two 16 bit devices as otherwisewe may break configurations that do not set the device_width propery....
aio / timers: Switch entire codebase to the new timer API
This is an autogenerated patch using scripts/switch-timer-api.
Switch the entire code base to using the new timer API.
Note this patch may introduce some line length issues.
Signed-off-by: Alex Bligh <alex@alex.org.uk>...
devices: Associate devices to their logical category
The category will be used to sort the devices displayed inthe command line help.
Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>Message-id: 1375107465-25767-4-git-send-email-marcel.a@redhat.com...
pflash_cfi01: duplicate status byte from bits 23:16 for 32bit reads
The firmware commonly used with MIPS Malta boards (YAMON) reads thestatus of the pflash with a 32bit memory access. On real hardwarethis results in the status byte being mirrored in the upper 16 bits...
pflash_cfi01: Use QOM realize for pflash_cfi01
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>[AF: Renamed argument]Signed-off-by: Andreas Färber <afaerber@suse.de>
pflash-cfi01: QOM'ify some more
Introduce type constant and replace FROM_SYSBUS().
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>[AF: Renamed parent field]Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/block: pass owner to memory_region_init* functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
memory: add owner argument to initialization functions
memory: Rename readable flag to romd_mode
"Readable" is a very unfortunate name for this flag because even arom_device region will always be readable from the guest POV. Whatdiffers is the mapping, just like the comments had to explain already.Also, readable could currently be understood as being a generic region...
hw: move target-independent files to subdirectories
This patch tackles all files that are compiled once, movingthem to subdirectories of hw/.