Explorar o código

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 <[email protected]>
Christian Lamparter %!s(int64=3) %!d(string=hai) anos
pai
achega
d022451906
Modificáronse 1 ficheiros con 18 adicións e 0 borrados
  1. 18 0
      target/linux/x86/modules.mk

+ 18 - 0
target/linux/x86/modules.mk

@@ -67,6 +67,24 @@ endef
 $(eval $(call KernelPackage,sp5100-tco))
 $(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
 define KernelPackage/pcengines-apuv2
   SUBMENU:=$(OTHER_MENU)
   SUBMENU:=$(OTHER_MENU)
   TITLE:=PC Engines APUv2/3 front button and LEDs driver
   TITLE:=PC Engines APUv2/3 front button and LEDs driver