qemu/hw
Roy Franz 0163a2dc80 Fix NOR flash device ID reading
Fix NOR flash manufacturer and device ID reading.  This now
properly takes into account device widths and device max widths
as required.  The reading of these IDs uses the same max_width
dependent addressing as CFI queries.

The old code remains for chips that don't specify a device width,
as the new code relies on a device width being set in order to
properly operate.  The existing code seems very broken.

Only ident0 and ident1 are used in the new code, as other fields
relate to the lock state of blocks in flash.

The VExpress flash configuration has been updated to match
the new code, as the existing definition was 'wrong' in order
to return the expected results with the broken device ID code.

Signed-off-by: Roy Franz <roy.franz@linaro.org>
Message-id: 1386279359-32286-8-git-send-email-roy.franz@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2013-12-17 19:42:27 +00:00
..
9pfs virtio-9p: Convert to QOM realize 2013-12-09 21:46:49 +01:00
acpi
alpha
arm Fix NOR flash device ID reading 2013-12-17 19:42:27 +00:00
audio intel-hda: fix position buffer 2013-12-09 09:19:26 +01:00
block Fix NOR flash device ID reading 2013-12-17 19:42:27 +00:00
bt
char Merge remote-tracking branch 'bonzini/virtio' into staging 2013-12-13 11:10:33 -08:00
core
cpu cpu/a9mpcore: Add Global Timer 2013-12-10 13:28:25 +00:00
cris
display spice: stop server for qxl hard reset 2013-12-16 10:12:20 +01:00
dma
gpio
i2c
i386 pc: use macro for HPET type 2013-12-11 20:11:10 +02:00
ide
input
intc
isa
lm32
m68k
microblaze
mips
misc vfio-pci: Release all MSI-X vectors when disabled 2013-12-06 11:16:40 -07:00
moxie
net Merge remote-tracking branch 'bonzini/virtio' into staging 2013-12-13 11:10:33 -08:00
nvram eeprom93xx: fix coding style 2013-12-06 22:56:51 +04:00
openrisc
pci pci: fix pci bridge fw path 2013-12-11 20:11:08 +02:00
pci-bridge
pci-host pc: map PCI address space as catchall region for not mapped addresses 2013-12-10 12:29:56 +02:00
pcmcia
ppc spapr_pci: s/INT64_MAX/UINT64_MAX/ 2013-12-10 12:29:56 +02:00
s390x virtio-ccw: remove vdev field 2013-12-09 21:46:48 +01:00
scsi Merge remote-tracking branch 'bonzini/virtio' into staging 2013-12-13 11:10:33 -08:00
sd
sh4
sparc
sparc64
ssi
timer acpi.pci,pc,memory core fixes 2013-12-13 11:10:20 -08:00
tpm
unicore32
usb Improvements for usb3 bulk stream (usb core, xhci). 2013-12-06 12:54:36 -08:00
virtio virtio: Convert exit to unrealize 2013-12-09 21:46:49 +01:00
watchdog
xen
xtensa
Makefile.objs