On Wed, 17 May 2023 at 09:14, Mohamed ElSayed <[email protected]> wrote:
>
> Signed-off-by: Mohamed ElSayed <[email protected]>
> ---
>  hw/watchdog/tm4c123_watchdog.c         | 297 +++++++++++++++++++++++++
>  hw/watchdog/trace-events               |   3 +
>  include/hw/watchdog/tm4c123_watchdog.h |  97 ++++++++
>  3 files changed, 397 insertions(+)
>  create mode 100644 hw/watchdog/tm4c123_watchdog.c
>  create mode 100644 include/hw/watchdog/tm4c123_watchdog.h

This one's just a variant of TYPE_LUMINARY_WATCHDOG,
which you can find in hw/watchdog/cmsdk-apb-watchdog.c.
Probably you only need to add a new variant with
the ID register values different. You want the
"is_luminary == true" behaviour in this variant.

thanks
-- PMM

Reply via email to