summary refs log tree commit diff stats
path: root/hw/misc/stm32l4x5_rcc.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-08-01 15:27:24 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-08-06 16:24:14 +0200
commitec70b7737f18de92e4c9aa31742ecfb680ed6005 (patch)
tree138f51951afdbc6276b0bd9f78d0c925e52f5b9e /hw/misc/stm32l4x5_rcc.c
parent50a24291948a25a919147cea45eaa92bd8e401b8 (diff)
downloadfocaccia-qemu-ec70b7737f18de92e4c9aa31742ecfb680ed6005.tar.gz
focaccia-qemu-ec70b7737f18de92e4c9aa31742ecfb680ed6005.zip
hw/pci-host/gt64120: Reset config registers during RESET phase
Reset config values in the device RESET phase, not only once
when the device is realized, because otherwise the device can
use unknown values at reset.

Since we are adding a new reset method, use the preferred
Resettable API (for a simple leaf device reset, a
DeviceClass::reset method and a ResettableClass::reset_hold
method are essentially identical).

Reported-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240802213122.86852-3-philmd@linaro.org>
Diffstat (limited to 'hw/misc/stm32l4x5_rcc.c')
0 files changed, 0 insertions, 0 deletions