diff options
author | Maxim Uvarov | 2021-06-25 13:18:42 +0200 |
---|---|---|
committer | Peter Maydell | 2021-07-02 12:48:36 +0200 |
commit | e3bcf57c1a3c498fe7bd1f18744614a802d8859a (patch) | |
tree | fe4a1a850341388855a256c1fd154738560bcff9 /target/arm | |
parent | target/arm: Check NaN mode before silencing NaN (diff) | |
download | qemu-e3bcf57c1a3c498fe7bd1f18744614a802d8859a.tar.gz qemu-e3bcf57c1a3c498fe7bd1f18744614a802d8859a.tar.xz qemu-e3bcf57c1a3c498fe7bd1f18744614a802d8859a.zip |
hw/gpio/gpio_pwr: use shutdown function for reboot
qemu has 2 type of functions: shutdown and reboot. Shutdown
function has to be used for machine shutdown. Otherwise we cause
a reset with a bogus "cause" value, when we intended a shutdown.
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20210625111842.3790-3-maxim.uvarov@linaro.org
[PMM: tweaked commit message]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm')
0 files changed, 0 insertions, 0 deletions