Comments
Patch
@@ -274,6 +274,7 @@ CONFIG_BLOCK=y
# CONFIG_BNX2 is not set
# CONFIG_BNX2X is not set
# CONFIG_BONDING is not set
+CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT=38
# CONFIG_BOOT_PRINTK_DELAY is not set
CONFIG_BOOT_RAW=y
# CONFIG_BPQETHER is not set
@@ -20,6 +20,7 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
CONFIG_AUDIT_ARCH=y
CONFIG_BCMA_POSSIBLE=y
CONFIG_BOOKE=y
+# CONFIG_BOOKE_WDT is not set
CONFIG_BOUNCE=y
CONFIG_CMDLINE="console=ttyS0,115200"
CONFIG_CMDLINE_BOOL=y
@@ -146,7 +147,7 @@ CONFIG_OF_MDIO=y
CONFIG_OF_NET=y
CONFIG_OF_PCI=y
CONFIG_OF_PCI_IRQ=y
-# CONFIG_P1010_RDB is not set
+CONFIG_P1010_RDB=y
# CONFIG_P1022_DS is not set
# CONFIG_P1023_RDS is not set
# CONFIG_P2041_RDB is not set
@@ -247,6 +248,5 @@ CONFIG_UCC_GETH=y
CONFIG_USB_ARCH_HAS_XHCI=y
CONFIG_USB_SUPPORT=y
CONFIG_VM_EVENT_COUNTERS=y
-# CONFIG_WATCHDOG is not set
CONFIG_WORD_SIZE=32
# CONFIG_XES_MPC85xx is not set
new file mode 100644
@@ -0,0 +1,21 @@
+#
+# Copyright (C) 2010 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define KernelPackage/booke-wdt
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=PowerPC Book-E Watchdog Timer
+ DEPENDS:=@TARGET_mpc85xx
+ KCONFIG:=CONFIG_BOOKE_WDT
+ FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/booke_wdt.ko
+ AUTOLOAD:=$(call AutoLoad,50,booke_wdt)
+endef
+
+define KernelPackage/booke-wdt/description
+ Kernel module for PowerPC Book-E Watchdog Timer.
+endef
+
+$(eval $(call KernelPackage,booke-wdt))
\ No newline at end of file
@@ -7,7 +7,7 @@
define Profile/mpc854x
NAME:=MPC854x (default)
- PACKAGES:=
+ PACKAGES:=kmod-booke-wdt
endef
define Profile/mpc8548/Description
@@ -7,7 +7,7 @@
define Profile/p1010rdb
NAME:=Freescael P1010RDB Reference Board
- PACKAGES:=
+ PACKAGES:=kmod-booke-wdt
endef
define Profile/p1010rdb/Description