[openwrt/openwrt] x86: add ib700wdt module for x86 qemu watchdogs

LEDE Commits lede-commits at lists.infradead.org
Sat May 7 07:28:18 PDT 2022


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/d022451906915c1bf4e36cbee723f323bbb659d1

commit d022451906915c1bf4e36cbee723f323bbb659d1
Author: Christian Lamparter <chunkeey at gmail.com>
AuthorDate: Sun May 1 14:10:25 2022 +0200

    x86: add ib700wdt module for x86 qemu watchdogs
    
    QEMU+Libvirt can emulate the ib700wdt watchdogs
    which due to its I/O-Port mapping makes it x86
    specific.
    
    Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
 target/linux/x86/modules.mk | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/target/linux/x86/modules.mk b/target/linux/x86/modules.mk
index fcf8dfcdff..a57a470e8d 100644
--- a/target/linux/x86/modules.mk
+++ b/target/linux/x86/modules.mk
@@ -67,6 +67,24 @@ endef
 $(eval $(call KernelPackage,sp5100-tco))
 
 
+define KernelPackage/ib700-wdt
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=IB700 SBC Watchdog Timer
+  DEPENDS:=@TARGET_x86
+  KCONFIG:=CONFIG_IB700_WDT
+  FILES:=$(LINUX_DIR)/drivers/watchdog/ib700wdt.ko
+  AUTOLOAD:=$(call AutoLoad,50,ib700wdt,1)
+endef
+
+define KernelPackage/ib700-wdt/description
+  Kernel module for the hardware watchdog on the IB700 Single
+  Board Computer produced by TMC Technology (www.tmc-uk.com).
+  Also used by QEMU/libvirt.
+endef
+
+$(eval $(call KernelPackage,ib700-wdt))
+
+
 define KernelPackage/pcengines-apuv2
   SUBMENU:=$(OTHER_MENU)
   TITLE:=PC Engines APUv2/3 front button and LEDs driver




More information about the lede-commits mailing list