summaryrefslogtreecommitdiffstats
path: root/kvm-all.c
diff options
context:
space:
mode:
authorPeter Maydell2014-06-19 19:06:25 +0200
committerPeter Maydell2014-06-19 19:06:25 +0200
commita0289b8af3b05fe47bee8e434d1c978382a5a8cc (patch)
tree9b2904efa9fee5697120cbb9c6078f502b9ff3f3 /kvm-all.c
parenthw/arm/vexpress: Forbid specifying flash contents in two ways at once (diff)
downloadqemu-a0289b8af3b05fe47bee8e434d1c978382a5a8cc.tar.gz
qemu-a0289b8af3b05fe47bee8e434d1c978382a5a8cc.tar.xz
qemu-a0289b8af3b05fe47bee8e434d1c978382a5a8cc.zip
hw/block/pflash_cfi01: Report correct size info for parallel configs
If the flash device is configured with a device-width which is not equal to the bank-width, indicating that it is actually several narrow flash devices in parallel, the CFI table should report the number of blocks and the size of a single device, not of the whole combined setup. This stops Linux from complaining: "NOR chip too large to fit in mapping. Attempting to cope..." As usual, we retain the old broken but backwards compatible behaviour when the device-width is not specified. Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1402409025-25694-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'kvm-all.c')
0 files changed, 0 insertions, 0 deletions