hw/dma/pl080: Remove hw_error() if DMA is enabled
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Aug 2018 10:24:33 +0000 (11:24 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Aug 2018 10:24:33 +0000 (11:24 +0100)
commitb85fad1588e812566f897f747e38da345a7016d6
tree01e586fa332ed09cffbd1b80a8399ae165e5fceb
parent156448ab640baaeca185787eb303fe4d63edca26
hw/dma/pl080: Remove hw_error() if DMA is enabled

The PL08x model currently will unconditionally call hw_error()
if the DMA engine is enabled by the guest. This has been
present since the PL080 model was edded in 2006, and is
presumably either unintentional debug code left enabled,
or a guard against untested DMA engine code being used.

Remove the hw_error(), since we now have a guest which
will actually try to use the DMA engine (the self-test
binary for the AN505 MPS2 FPGA image).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/dma/pl080.c