]> git.proxmox.com Git - mirror_qemu.git/commit
sbsa-ref: Rename SBSA_GWDT enum value
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 6 Aug 2021 02:31:19 +0000 (22:31 -0400)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 25 Aug 2021 09:48:50 +0000 (10:48 +0100)
commit80d60a6d1efebcf35ff96e2d0a51373b0383bc10
tree34af9e822a5b977cb33e83543a11eb71ffb7d408
parent77844cc51aa0714d54ae6f5a12279ce0e7f5ef55
sbsa-ref: Rename SBSA_GWDT enum value

The SBSA_GWDT enum value conflicts with the SBSA_GWDT() QOM type
checking helper, preventing us from using a OBJECT_DEFINE* or
DEFINE_INSTANCE_CHECKER macro for the SBSA_GWDT() wrapper.

If I understand the SBSA 6.0 specification correctly, the signal
being connected to IRQ 16 is the WS0 output signal from the
Generic Watchdog.  Rename the enum value to SBSA_GWDT_WS0 to be
more explicit and avoid the name conflict.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-id: 20210806023119.431680-1-ehabkost@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/sbsa-ref.c