diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-05-02 18:39:30 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-05-13 18:04:50 +0200 |
commit | 72fe4742c6e7fa3d237b5cb5866dfaf7733141e9 (patch) | |
tree | ccb38510877c9ad0313eccdec5f7328d8d8bf457 /hw/ppc/spapr_rng.c | |
parent | bcfec3763e44b6996384272bf43fbcfce7f45c57 (diff) |
hw/timer/etraxfs_timer: Convert to 3-phase reset (Resettable interface)
TYPE_ETRAX_FS_TIMER is a sysbus device, so its DeviceClass::reset()
handler is called automatically when its qbus parent is reset
(we don't need to register it manually).
Convert the generic reset to a enter/hold resettable ones, and
remove the qemu_register_reset() call.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-Id: <20210502163931.552675-2-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/ppc/spapr_rng.c')
0 files changed, 0 insertions, 0 deletions