diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-08-24 13:17:45 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-08-24 13:17:45 +0100 |
commit | 66d9aa790fa9d5c251dcbd5b8ff1db79e04dc06d (patch) | |
tree | 0ad143f2cd9201b56e6ccd65ab5732a8a5dace4d /include/hw/misc/mps2-fpgaio.h | |
parent | 1d52866f5a53feef036c2e8f9b3a6a30209d48a7 (diff) | |
download | qemu-66d9aa790fa9d5c251dcbd5b8ff1db79e04dc06d.zip qemu-66d9aa790fa9d5c251dcbd5b8ff1db79e04dc06d.tar.gz qemu-66d9aa790fa9d5c251dcbd5b8ff1db79e04dc06d.tar.bz2 |
hw/ssi/pl022: Set up reset function in class init
Currently the PL022 calls pl022_reset() from its class init
function. Make it register a DeviceState reset method instead,
so that we reset the device on system reset.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180820141116.9118-17-peter.maydell@linaro.org
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/hw/misc/mps2-fpgaio.h')
0 files changed, 0 insertions, 0 deletions