aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2020-05-17 09:21:28 -0700
committerPeter Maydell <peter.maydell@linaro.org>2020-05-21 20:00:18 +0100
commit37f95959c730ff29f58c85b7a98f0b825933bee1 (patch)
tree6ece7d04ffca5c1380d57d2f7f2fe9a979cc5959 /include/hw/misc
parentef81aa68a708ba5162e1d5fa8d98171ac1059e2d (diff)
downloadqemu-37f95959c730ff29f58c85b7a98f0b825933bee1.zip
qemu-37f95959c730ff29f58c85b7a98f0b825933bee1.tar.gz
qemu-37f95959c730ff29f58c85b7a98f0b825933bee1.tar.bz2
hw: Move i.MX watchdog driver to hw/watchdog
In preparation for a full implementation, move i.MX watchdog driver from hw/misc to hw/watchdog. While at it, add the watchdog files to MAINTAINERS. Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Message-id: 20200517162135.110364-2-linux@roeck-us.net Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/misc')
-rw-r--r--include/hw/misc/imx2_wdt.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/include/hw/misc/imx2_wdt.h b/include/hw/misc/imx2_wdt.h
deleted file mode 100644
index b91b002..0000000
--- a/include/hw/misc/imx2_wdt.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2017, Impinj, Inc.
- *
- * i.MX2 Watchdog IP block
- *
- * Author: Andrey Smirnov <andrew.smirnov@gmail.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2 or later.
- * See the COPYING file in the top-level directory.
- */
-
-#ifndef IMX2_WDT_H
-#define IMX2_WDT_H
-
-#include "hw/sysbus.h"
-
-#define TYPE_IMX2_WDT "imx2.wdt"
-#define IMX2_WDT(obj) OBJECT_CHECK(IMX2WdtState, (obj), TYPE_IMX2_WDT)
-
-enum IMX2WdtRegisters {
- IMX2_WDT_WCR = 0x0000,
- IMX2_WDT_REG_NUM = 0x0008 / sizeof(uint16_t) + 1,
-};
-
-
-typedef struct IMX2WdtState {
- /* <private> */
- SysBusDevice parent_obj;
-
- MemoryRegion mmio;
-} IMX2WdtState;
-
-#endif /* IMX2_WDT_H */