hw/arm/xlnx-versal: rtc: refactor creation
Refactor the RTC device creation using the VersalMap structure. The sysbus IRQ output 0 (APB IRQ) is connected instead of the output 1 (addr error IRQ). This does not change the current behaviour since the RTC model does not implement those IRQs anyway. Signed-off-by: Luc Michel <luc.michel@amd.com> Reviewed-by: Francisco Iglesias <francisco.iglesias@amd.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com> Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20250926070806.292065-17-luc.michel@amd.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
060b809271
commit
176faad4bf
3 changed files with 31 additions and 33 deletions
|
|
@ -17,7 +17,6 @@
|
|||
#include "hw/cpu/cluster.h"
|
||||
#include "hw/or-irq.h"
|
||||
#include "hw/intc/arm_gicv3.h"
|
||||
#include "hw/rtc/xlnx-zynqmp-rtc.h"
|
||||
#include "qom/object.h"
|
||||
#include "hw/misc/xlnx-versal-crl.h"
|
||||
#include "net/can_emu.h"
|
||||
|
|
@ -81,7 +80,6 @@ struct Versal {
|
|||
|
||||
/* The Platform Management Controller subsystem. */
|
||||
struct {
|
||||
XlnxZynqMPRTC rtc;
|
||||
XlnxVersalCFUAPB cfu_apb;
|
||||
XlnxVersalCFUFDRO cfu_fdro;
|
||||
XlnxVersalCFUSFR cfu_sfr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue