summaryrefslogtreecommitdiff
path: root/gdb-xml
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-06-19 18:06:25 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-06-19 18:06:25 +0100
commita0289b8af3b05fe47bee8e434d1c978382a5a8cc (patch)
tree9b2904efa9fee5697120cbb9c6078f502b9ff3f3 /gdb-xml
parent476e75ab9d2cf2ad8ac8dfd9530c9fee148c2c7a (diff)
downloadqemu-a0289b8af3b05fe47bee8e434d1c978382a5a8cc.tar.gz
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 'gdb-xml')
0 files changed, 0 insertions, 0 deletions