summaryrefslogtreecommitdiffstats
path: root/hw/timer/stm32f2xx_timer.c
diff options
context:
space:
mode:
authorDavid Engraf2019-07-15 15:17:04 +0200
committerPeter Maydell2019-07-15 15:17:04 +0200
commit80734cbdcab6ddb8d45a75910e8f7e3841daca2c (patch)
treef2b56e0da7aa514138662180d8e32a71a177164d /hw/timer/stm32f2xx_timer.c
parenthw/display/xlnx_dp: Avoid crash when reading empty RX FIFO (diff)
downloadqemu-80734cbdcab6ddb8d45a75910e8f7e3841daca2c.tar.gz
qemu-80734cbdcab6ddb8d45a75910e8f7e3841daca2c.tar.xz
qemu-80734cbdcab6ddb8d45a75910e8f7e3841daca2c.zip
hw/arm/virt: Fix non-secure flash mode
Using the whole 128 MiB flash in non-secure mode is not working because virt_flash_fdt() expects the same address for secure_sysmem and sysmem. This is not correctly handled by caller because it forwards NULL for secure_sysmem in non-secure flash mode. Fixed by using sysmem when secure_sysmem is NULL. Signed-off-by: David Engraf <david.engraf@sysgo.com> Message-id: 20190712075002.14326-1-david.engraf@sysgo.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/timer/stm32f2xx_timer.c')
0 files changed, 0 insertions, 0 deletions