]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/arm/tosa: Fix reset handling
authorGuenter Roeck <linux@roeck-us.net>
Fri, 28 Oct 2016 13:12:31 +0000 (14:12 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Oct 2016 14:51:27 +0000 (15:51 +0100)
commitd26a10e232eb18bf9e32dc2366231715bfd1d5b4
treef4d869076818a59337d2232b7aa226f0c5fd69da
parent14da5821010b3fd68e25f2193805c43e402bd33a
hw/arm/tosa: Fix reset handling

Using the CPU reset handler for resets triggered by writing into
gpio pins other than GPIO01 is not appropriate and does not work,
since the reset triggered by writing into GPIO01 is configurable.
Use a separate reset handler for tosa to reset the entire system
and not just the CPU.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Message-id: 1477597646-24111-2-git-send-email-linux@roeck-us.net
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/tosa.c